[Zope] newbie dtml/zCatalog???
M. Adam Kendall
akendall@devis.com
Wed, 26 Apr 2000 16:53:00 -0400 (EDT)
If you are using a <dtml-in> statement to 'list' your
search results, you can simple use this:
<dtml-in searchresults>
<dtml-if sequence-even>
<TD BGCOLOR="#dddddd">Even numbered cell starting at 0</TD>
<dtml-else>
<TD BGCOLOR="#ffffff">Odd numbered cell starting at 0</TD>
</dtml-if>
</dtml-in>
Regards,
Adam
On 26-Apr-2000 Jonathan Park wrote:
> I guess I don't know much about dtml-if statements.
> I was wondering how I could write a dtml if loop in zope to alternate
> the
> color of the cell for the results page in after a search.
--
M. Adam Kendall | Got Linux?
Internetworking & | We do.
Security Architect |
akendall@devis.com | http://www.devis.com