View Single Post
  #14  
Old 10-25-2004, 06:00 AM
  Gijs's Avatar 
Gijs Gijs is offline
 

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

Default

Hi pmstudios,

This doesn't work as in the US-language it shows the file with pageid=2.

But again, you've pointed me in the right direction

This 'll do the trick:
Code:
{if $store_language eq "NL" or $store_language eq "US"} {capture name=dialog} {section name=pg loop=$pages_menu} {if $pages_menu[pg].pageid ne "1" and $pages_menu[pg].pageid ne "2"} {$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}

Thanks,

Gijs
__________________
X-cart 4.1.11
PHP 5 MySQL 5
www.wheelpalace.eu
Reply With Quote