[pmwiki-users] New Input Select -- populate drop down from single page content?
Petko Yotov
5ko at free.fr
Sat Dec 16 23:23:45 CST 2006
On Sunday 17 December 2006 05:05, Sivakatirswami wrote:
> But could contents of a single page become the pull down menu items?
[cut]
> I thought the easiest way to maintain this would be to have a single
> page with the
> groups (it could be any list though... alpha beta gamma) you want to
> appear in the drop down menu.
> instead of having to iterate these in the page list declarations. This
> would allow a naive user to
> control the content of the pull where she might be otherwise
> trepidatious about editing
You can use
(:pagelist fmt=#dropdownlist trail=Group.LinksToInclude :)
Inside the page [[Group.LinksToInclude]] you set a list:
* [[Oranges/]]
* [[Apples/]]
etc.
See http://www.pmwiki.org/wiki/PmWiki/PageLists and
http://www.pmwiki.org/wiki/Cookbook/PagelistExplained
Petko
More information about the pmwiki-users
mailing list