View Single Post
  #14  
Old 10-22-2003, 05:44 PM
 
Scurvy Scurvy is offline
 

Member
  
Join Date: Apr 2003
Posts: 15
 

Default

Figured it out with some help from my bro.
We used BOOMER's multi column layout mod and cmolocznik's smarty alternate row colors

In Edit Templates -> customer/main/products.tpl
If you're using Boomer's multi column mod just add
bgcolor="{cycle values="#F7F5EE,#EFEFEF"}">
{/if}
to the code in the second <tr> tag.
Change this:
Code:
<table border=0 width=100%><tr><td> <table border=0 width=100%> {section name=product loop=$products} {if $smarty.section.product.index is div by 2} </tr><tr valign="top"> <td valign="top">
to....
Code:
<table border=0 width=100%><tr><td> <table border=0 width=100%> {section name=product loop=$products} {if $smarty.section.product.index is div by 2} </tr><tr valign="top" bgcolor="{cycle values="#F7F5EE,#EFEFEF"}"> {/if} <td valign="top">
in the very first section of the code. The rest is the same as he posted.
The tricky part (for me at least) was finding the right <tr> or <table> or <td> to put it in.
Works like a charm folks. Congrats and much thanks for your knowledge
Reply With Quote