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.