From: Jacob M. <ja...@ma...> - 2010-04-30 02:40:39
|
Adding autosavefields=31 makes it save the page name in the page selector field (it happened automatically in Tiki4), but after submitting the page, one are left with a not updated, slightly broken view. You have to reclick the page link to make Tiki realise that the tracker field was updated. Strange. Maybe I should pass the pagename in the url parameter? ----- Original Message ----- From: "Jacob Moen" <ja...@ma...> To: <sgr...@gm...>; "Tikiwiki developers" <tik...@li...> Sent: Friday, April 30, 2010 2:05 AM Subject: Re: [Tikiwiki-devel] Plugin tracker in Tiki5 > That syntax is lifted from your wiki :) > But thanks for the pointer. > > However, inserting the missing comma doesn't make it work. > Do we need to pass the page explicitly now? > > This is the new code: > {if $section eq "wiki page" and $structure eq "y"}{wiki}{literal}!!!!- > Report/edit page issue: > {TRACKER(trackerId="3", newstatus="o", fields="47:33", view="page", > wiki="pagetracker tpl")}Page issue has been > reported.{TRACKER}{/literal}{/wiki}{/if} > > I tried putting everything in "" but that doesn't do it. > I think I'll just remove our wiki page tracker although I am sad to see it > go. It was a good feature. > I can't have people use something which doesn't work. > > Cheers > > Jacob > > ----- Original Message ----- > From: "Sylvie Greverend" <sgr...@gm...> > To: "Tikiwiki developers" <tik...@li...> > Sent: Friday, April 30, 2010 12:19 AM > Subject: Re: [Tikiwiki-devel] Plugin tracker in Tiki5 > > >>I do not like to much the syntax >> There is no comma between page and wiki ... I am sure it works - you >> need to decide syntax with comma or without ... I think >> my 2 cents >> On Thu, 2010-04-29 at 21:16 +0200, Jacob Moen wrote: >>> Hi Tiki developers >>> >>> TRACKER plugin in Tiki 5: >>> This is merely a question about how to use this in Tiki 5, as >>> something is different. >>> >>> I have this code in my middle shadow end: >>> {if $section eq "wiki page" and $structure eq >>> "y"}{wiki}{literal}!!!!- Report/edit page issue: >>> {TRACKER(trackerId=3, newstatus=o, fields=47:33, view=page >>> wiki="pagetracker tpl")}Page issue has been >>> reported.{TRACKER}{/literal}{/wiki}{/if} >>> >>> It worked in Tiki 4.2, but doesn't fill in the page field now. >>> >>> What do we need to do in Tiki 5 ? >>> I thought this was automagic ? >>> I can't really see any information on that change by browsing the >>> TRACKER plugin wiki page.. >>> >>> Cheers >>> >>> Jacob >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Tikiwiki-devel mailing list >>> Tik...@li... >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Tikiwiki-devel mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > Tikiwiki-devel mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel |