Hi,

I whish to have as less code as possible on every page so it would be 
great if GroupHeader was able to display
- categories the page links to
- a good way to add new categories for the page
I did as follows but it dosn't work very well because (and I don't know 
why) the form has to be posted twice to effectively add a new category 
to the PTV.

---- GroupHeader -------
Categories :{{*$FullName}$:cat}
(:fox form  ptvtarget={*$FullName}:)
(:input select $:cat "{{*$FullName}$:cat}, [[!A]]" A:)
(:input select $:cat "{{*$FullName}$:cat}, [[!B]]" B:)
(:input select $:cat "{{*$FullName}$:cat}, [[!C]]" C:)
(:input submit post "+":)
(:foxend form:)
------------------------


---- Template ----------
%white% (:cat: [[!A]], [[!B]]:) {$:cat}
------------------------


The is certainly a better way... Thanks for your help.
-- 
Nicolas Poulain
http://www.exomatik.net/

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to