What exactly do you need? To create the select controls from comma separated list or comma separated list from the pagelist ?
Have a look how I solved the creation of comma separated list from the pagelist at http://www.revida.sk/wiki/index.php/JITS/JITSadmin?action=source There is an array used -- marked[] which in ZAP results to comma separated list (:input hidden marked[] "{=$Group}.{=$Name}":) in the [[#toDelfmt]] pagelist format. Hope this helps. Regards, Jiri Nicholas Buttle napsal(a): > hi > > Can anyone show me how to integrate these two? > > 1. An input select based upon the Profiles Group > > (:if false:) > [[#dropdownlist]] > (:input select name=n {=$FullName} "{=$Name}":) > [[#dropdownlistend]] > (:if:) > > (:pagelist fmt=#dropdownlist group=Profiles:) > > and > > 2. Dan's Inlist snippet for ZAP. > > [[#ID]] > ||border=0 > ||'''You are:''' ||{$AuthId} > ||'''List:''' ||{$:mylist} > > (:if inlist {$AuthId}|mylist|Snippets.InList:) > * You are in the list. > (:if ! inlist {$AuthId}|mylist|Snippets.InList:) > * You are not in the list. > (:ifend:) > > (:zapform:) > (:messages:) > (:input submit button "Add Me":) (:input submit > button "Drop Me":) > (:zap if1="equal '{button}' 'Add Me' ? > mylist=+{$AuthId}":) > (:zap if2="equal '{button}' 'Drop Me' ? > mylist=-{$AuthId}":) > (:zap mylist="":) > (:zap savedata="mylist":) > (:zapend:) > [[#ID]] > > > (:mylist:) > > -------- > > I'm never on PMWiki long enough to retain my > knowledge...that and I'm thick! > > TIA > > Nicholas > > > > > > ____________________________________________________________________________________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > __________ Informace od NOD32 2176 (20070410) __________ > > Tato zprava byla proverena antivirovym systemem NOD32. > http://www.nod32.cz > > > > -- OBUTEX s.r.o Ing.Jiří Hladůvka Zlatovská 22 911 01 Trenčín tel.: +421 (0)32 6587000 mailto:[EMAIL PROTECTED] http://www.obutex.com _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
