View Single Post
  #10  
Old 10-24-2004, 09:13 PM
  Gijs's Avatar 
Gijs Gijs is offline
 

eXpert
  
Join Date: Aug 2004
Location: Belgium
Posts: 295
 

Default added a litle tweak

Hi pmstudios,

As I have a multi-lingual cart and I dont want some pages to appear in the pages list I've a the following twist to it


Code:
<table width="100%"> <tr> <td align="center"><h1>{$lng.lbl_tab_how_to}</h1></td> </tr> <tr> <td>{$lng.lbl_how_to_text} </td> </tr> </table> {if $store_language eq "NL"} {capture name=dialog} {section name=pg loop=$pages_menu} {if $pages_menu[pg].pageid ne "1"} {$pages_menu[pg].title} {/if} {/section} {/capture} {include file="dialog.tpl" title=$lng.lbl_tab_how_to content=$smarty.capture.dialog extra="width=100%"} {elseif $store_language eq "US"} {capture name=dialog} {section name=pg loop=$pages_menu} {if $pages_menu[pg].pageid ne "1"} {$pages_menu[pg].title} {/if} {/section} {/capture} {include file="dialog.tpl" title=$lng.lbl_tab_how_to content=$smarty.capture.dialog extra="width=100%"} {/if}
__________________
X-cart 4.1.11
PHP 5 MySQL 5
www.wheelpalace.eu
Reply With Quote