[pmwiki-users] Changing style of a list in a table
Petko Yotov
5ko at 5ko.fr
Mon Jan 5 23:09:24 CST 2009
On Tuesday 06 January 2009 01:11:38 Jan Erik Moström wrote:
> One way of changing the list items is documented on the wiki
>
> * %block bgcolor=yellow padding=10px%Here is a list item
> * Here's another list item
>
> But this doesn't work for the pagelist command (for obvious
> reasons).
You should use %list ...% instead of block, and this is done in the pagelist
template. In your page Site.LocalTemplates place this code:
!!!fmt=#mylist
[@
[[#mylist]]
(:template defaults order=title:)
* %list bgcolor=yellow padding=1em% [[{=$FullName}|+]]
[[#mylistend]]
@]
And then, use (:pagelist ... fmt=#mylist:)
This works for me.
Thanks,
Petko
More information about the pmwiki-users
mailing list