[pmwiki-users] Page list format
marc
gmane at auxbuss.com
Mon Dec 11 12:42:59 CST 2006
said...
> Hi,
>
> I am trying to make a pagelist in a zebra table [with each row
> alternating colours]
>
> I have zebra defined in config.php
> # Zebra table
> $TableRowIndexMax = 2;
> $TableRowAttrFmt = "class='ind\$TableRowIndex'";
>
> I have titledes defined in LocalTemplates:
>
> [[#titledes]]
> ||class=zebra border=0 cellspacing=0 width=98% align=center
> ||[[{=$FullName}|+]] ||{=$Description} ||
> [[#titledesend]]
>
> All webpages have both (:title :) and (:description :) defined.
>
> When I do a pagelist
>
> (:pagelist fmt=#titledes count=15 order=-time:)
>
> In the CSS, I have:
> /* zebra tables */
> table.zebra tr.ind1 { background-color:#ddddff; }
>
> They are all in blue instead of alternate blue/white, and the 2nd
> column of the description does not line up.
>
> Any suggestion?
I don't think that pagelist creates tables that follow the the
tablerowindex formula. i.e.
<tr class='ind1'>
<tr class='ind2'>
Also strange is that any tables following a pagelist with your template
also become zebra-ised.
--
Best,
Marc
More information about the pmwiki-users
mailing list