View Single Post
  #3  
Old 10-12-2006, 12:51 AM
  swordmart's Avatar 
swordmart swordmart is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 35
 

Default Re: Editing Sort By!

Hi Sorry to be a pain but what ever i try, does not work, but I am a noob!
If possable could you tell me the changes i need to make?

this is the code I have
Code:
{* $Id: search_sort_by.tpl,v 1.3.2.1 2004/10/13 11:21:44 max Exp $ *} {if $url eq '' && $navigation_script ne ''}{assign var="url" value=$navigation_script|cat:"&"}{/if} <B>{$lng.lbl_sort_by}:</B>&nbsp;&nbsp;&nbsp;&nbsp; {foreach from=$sort_fields key=name item=field} <A href="{$url}sort={$name}&sort_direction={if $name eq $selected}{if $direction eq 1}0{else}1{/if}{else}{$direction}{/if}" style="TEXT-DECORATION: underline;" title="{$lng.lbl_sort_by}: {$field}">{if $name eq $selected}<B><IMG src="{$ImagesDir}/{if $direction}darrow.gif{else}uarrow.gif{/if}" width="9" height="9" border="0" valign="absmiddle" alt="{$lng.lbl_sort_direction}">&nbsp;{/if}{$field}{if $name eq $selected}</B>{/if}</A>&nbsp;&nbsp;&nbsp;&nbsp; {/foreach}

Also what would i need to add to my css?

Many Thanks in advance
Jamie
__________________
X-cart 4 gold
PHP version 4.3.10
MySQL version 4.0.23-standard
Apache version 1.3.33 (Unix)
Reply With Quote