Thread: empty.php
View Single Post
  #13  
Old 12-07-2005, 08:09 PM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

Quote:
Originally Posted by balinor
Using a smarty {if} statement like this:

{if $smarty.get.pageid eq "1" or $smarty.get.pageid eq "2"}Display this{else}Display this{/if}

Replace 1 and 2 with the actual number of the static pages you want to hide the menus for.

I tried that with pages_menu.tpl, it does not work

correction. It works, but only when browsing pages.php

got it to work with
{if $pages_menu[pg].pageid eq "2"
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote