[pmwiki-users] pagelist oneline with background color
Patrick R. Michaud
pmichaud at pobox.com
Sat Apr 1 16:42:19 CST 2006
On Sat, Apr 01, 2006 at 03:04:27PM +0100, Hans wrote:
> Saturday, April 1, 2006, 12:55:52 PM, Pierre-Marie wrote:
> > (:pagelist fmt=Site.PageListTemplates#oneline group=ChoosenGroup:)
> > How write the same template but with a background=yellow ?
>
> You can add the background property to wiki styles.
> Add to config.php:
> $WikiStyleCSS[] = 'background';
>
> Then use style in page by wrapping pagelist in a div:
>
> >>background=yellow<<
> (:pagelist fmt=Site.PageListTemplates#oneline group=Test:)
> >><<
The PmWiki core already supports the background property --
no need to add it to $WikiStyleCSS.
Pm
More information about the pmwiki-users
mailing list