View Single Post
  #1  
Old 06-23-2005, 02:40 PM
 
dashonice dashonice is offline
 

Member
  
Join Date: May 2005
Posts: 23
 

Default dialog.tpl, no title for certain categories

I am new to smarty and not sure about this syntax. I am trying to take out the title for certain categories but it is not working for me. Here is my code:
Code:
{* $Id: dialog.tpl,v 1.19 2004/06/24 09:53:29 max Exp $ *} {if $printable ne ''} {include file="dialog_printable.tpl"} {else} <table border="0" cellpadding="0" cellspacing="0" {$extra}> {if $cat eq "248"} {else} <tr> <td height="15" class="DialogTitle" background="{$ImagesDir}/dialog_bg_n.gif" valign="bottom">{$title}</td> </tr> {/if} <tr><td class="DialogBorder"><table border="0" cellpadding="0" cellspacing="1" width="100%"> <tr><td class="DialogBox">{$content} </td></tr> </table></td></tr> </table> {/if}

This should remove the first row on category 248 right? Am I missing something? If I wanted to add more categories for exclusion, would it be || or "or". Thanks for any help.
__________________
Version 4.0.18
Testing 4.1.2
Reply With Quote