View Single Post
(#2)
mfarah01 mfarah01 is offline
Junior Member
mfarah01 is on a distinguished road
 
Posts: 8
Join Date: Jun 2006
Default Resolved the problem - 06-14-2006, 06:11 AM

Hi all

Played around with the php code and got all the fields removed. Still not certian whether I will add in description so will come back if I decided to do that. Out of interest here is my re-worked code;

Code:
{if $sDisPhoto == "Y"} <th>{$smarty.const.LANG_PHOTO}</th> {/if} {if $sDisTitle == "Y"} <th>{$smarty.const.LANG_TITLE}</th> {/if} <th>{$smarty.const.LANG_VIEW_LISTING}</th> </tr> {foreach from=$results item="entry"} <tr> {if $sDisPhoto == "Y"} <td{if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}">{if $entry.image != ""}<img src="thumbs/small_{$entry.image|escape:"url"}" border="0" />{else}<img src="images/nophotosmall.gif" border='0' />{/if}</a></td> {/if} {if $sDisTitle == "Y"} <td{if $entry.class<>""} class="{$entry.class}"{/if}>{$entry.title}</td> {/if} <td{if $entry.class<>""} class="{$entry.class}"{/if}> <a href="{$entry.link}">{$smarty.const.LANG_VIEW_LISTING}</a> </td> </tr> {foreachelse}