View Single Post
  #7  
Old 07-12-2004, 02:41 AM
 
magder magder is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 51
 

Default

I had a look at the smarty documentation and couldn't figure out what the syntax would be for a conditional <td> attribute.

would I just repeat the table cell code like this:

Code:
{if $main ne "checkout"} <td> insidie td </td> {else} <td colspan="2"> insidie td </td> {/if}

Or would the if statement go inside the <td> tag?
Reply With Quote