From: luciash d' b. <lu...@ti...> - 2014-09-22 08:18:08
|
Hi Torsten, On 09/22/2014 09:59 AM, Torsten wrote: > Hi Luci, > > how Tiki "knows" that 272 is the Id of a category? > > Does the type of the autosavefield (ex. category) automatically imply > the type of the Id? Yes. > > I ask this way, as I recently stumbled over that in the documentation > and had no clue, what the doc was talking about. > > I mean this way: > 1. field 290 = category field type > 2. autosavefields="290" > 3. autosavevalues="272" > > so 1. + 2. makes 3. a category Id. > > Rightyright? Exactly. If it was a wiki page field type. It would be something like 1. field 290 = wiki page field type 2. autosavefields="290" 3. autosavevalues="HomePage" luci > > T. > > On 21.09.2014 13:01, luciash d' being wrote: >> Hi Hubert (cc Dev list)! >> >> I have found one example not requiring jQuery to preselect but using >> autosavefields param instead for "default" category being saved. (In >> this case it is called a "Draft" category) >> >> This is what I have in the wiki page: >> {tracker trackerId="2" action="Create" *autosavefields="290"* >> *autosavevalues="272"* url="New+Page+Created+Redirect&itemId" >> target="_top" ignoreRequestItemId="y" outputtowiki="17" discarditem="n" >> outputwiki="Special Template: Create New Page" wiki="TPL: Create New Page"} >> >> 290 is the category type tracker field >> 272 is the "Draft" category ID >> >> So by default all items created have the Draft category set. >> >> It is Tiki 9.x. >> >> I hope that helps, >> luci >> >> >> On 09/19/2014 05:56 PM, Hubert Johanssen wrote: >>> Luciash, >>> anexamplewouldbegreat! >>> LaternextweekIwilldescribethefullscenarioforbetterunderstanding. >>> Thankstoall, >>> _Hubert_ >>> >>> Sent from Yahoo Mail on Android >>> <https://uk.overview.mail.yahoo.com/mobile/?.src=Android> >>> >>> From:"luciash d' being" <lu...@ti...> >>> Date:Fri, 19 Sep, 2014 at 11:59 >>> Subject:Re: [Tiki-devel] Tracker field category no initial value >>> (crossposting) >>> >>> Hi Hubert, >>> >>> maybe it depends on the type of the category field how you display it >>> (checkboxes, radio buttons, dropdown select or multiple select?) but I >>> suspect it is simply not implemented for other fields than input >>> type=text so the TrackerPrefill wikiplugin does not support that >>> functionality for category field... >>> >>> I can send you an example how I did it for one client if that helps. >>> >>> luci >>> >>> >>> On 09/19/2014 01:04 AM, Hubert Johanssen wrote: >>>> luci, >>>> thanks for the suggestion, this is certainly worth trying, although I >>>> would have to read some doc. >>>> Before I delve into jQuery, I thought I could solve this with a >>>> {trackerprefill page="Template_Edit_Mytrackerpage" label="New >>>> Tracker" field1="38" value1=9 field2="36" value2="hjohanns" >>>> field3="39" value3="A request"} >>>> >>>> The field 38 would contain the category, and value 9 is the value of >>>> the wanted initial category. The prefill works on the other fields, >>>> but not on the category, did I miss something? >>>> Thanks a lot >>>> hubert >>>> >>>> >>>> On Thursday, September 18, 2014 5:55 PM, luciash d' being >>>> <lu...@ti...> wrote: >>>> >>>> >>>> Hi, >>>> >>>> afaik it is possible to preselect a checkbox using jQuery on the >>>> category field in the Tracker wikiplugin to have a "default" category >>>> assigned to newly created item at least. >>>> >>>> Or did I misunderstood ? >>>> >>>> luci >>>> >>>> >>>> On 09/18/2014 04:32 PM, Jonny Bradley wrote: >>>>> Hi Hubert >>>>> >>>>> This has always been a tricky issue in Tiki - granting permissions >>>> on things that don't exist yet, because an object has to be created >>>> to be categorised so it's a sort of chicken and egg thing. >>>>> Usually the best solution to this kind of problem is to make the >>>> global permissions be what you need for the "default" behaviour and >>>> then use category or object permissions to secure everything else (if >>>> i understand what you're up to correctly). >>>>> Anyone else got any (better) suggestions? >>>>> >>>>> jonny >>>>> >>>>> >>>>> >>>>> On 18 Sep 2014, at 04:54, Hubert Johanssen >>>> <hub...@ya... <javascript:return>> wrote: >>>>>> Hello all, >>>>>> I'm crossposting here from tikiwiki-users, trying to understand >>>> how the community works, so sorry for the hassle. First let me tell >>>> as a new Tiki users that this software is a fantastic piece of work!! >>>> Lots of features, good stability, active community, by all means it >>>> hits the top of the list. >>>>>> I'm implementing a new site, and would like to do some workflow >>>> function. To this, I'm using trackers, and a special set of >>>> categories with category transitions. >>>>>> So to be more precise, I create a tracker, one of the field is a >>>> category used for the transitions, and each time I view the tracker, >>>> I can add the transition header on top of the page to let my tracker >>>> evolve from a status of, say, "initial" to "processing" or to "in >>>> review". >>>>>> Note that the status included in trackers is not enough for me, >>>> otherwise it would have been even better. >>>>>> Everything perfect, it works great! The only annoying thing is >>>> that I cannot set a default value for the category field at tracker >>>> item creation time, which makes it difficult to secure the system. >>>> Either I allow everybody to edit the status, reminding that they HAVE >>>> to do it for the status to evolve, or I block and someone has to do >>>> it for every tracker item. >>>>>> In both cases, it requires some serious compromise. >>>>>> I am using Tiki 12, is this something that has changed in Tiki 13, >>>> or is it considered somewhere for further enhancement? >>>>>> Thanks a lot for your attention, and let's improve the solution >>>> together! >>>>>> Hubert J. >>>>>> >>>>>> >>>>>> >>>> ------------------------------------------------------------------------------ >>>>>> Want excitement? >>>>>> Manually upgrade your production database. >>>>>> When you want reliability, choose Perforce >>>>>> Perforce version control. Predictably reliable. >>>>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________ >>>>>> TikiWiki-devel mailing list >>>>>> Tik...@li... <javascript:return> >>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >>>>> >>>> ------------------------------------------------------------------------------ >>>>> Want excitement? >>>>> Manually upgrade your production database. >>>>> When you want reliability, choose Perforce >>>>> Perforce version control. Predictably reliable. >>>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> TikiWiki-devel mailing list >>>>> Tik...@li... <javascript:return> >>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >>>> >>>> ------------------------------------------------------------------------------ >>>> Want excitement? >>>> Manually upgrade your production database. >>>> When you want reliability, choose Perforce >>>> Perforce version control. Predictably reliable. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> TikiWiki-devel mailing list >>>> Tik...@li... <javascript:return> >>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Slashdot TV. Video for Nerds. Stuff that Matters. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk >>>> >>>> >>>> _______________________________________________ >>>> TikiWiki-devel mailing list >>>> Tik...@li... >>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. Video for Nerds. Stuff that Matters. >> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk >> >> >> >> _______________________________________________ >> TikiWiki-devel mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > TikiWiki-devel mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel |