View Single Post
  #1  
Old 10-18-2004, 02:14 AM
  Gijs's Avatar 
Gijs Gijs is offline
 

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

Default Best way to edit pages_menu.tpl and pages.php

Hi,

I have 5 different static pages. But I only want to list 4 of them throughout the pages_menu.tpl.
The fifth one I only want to accessible through a hyperlink like: pages.php?pageid=5
As I use different languages that page 5 will probably have a different pageid in the different languages.

So whats the best way to tackle this ?
Change pages.php and create an extra extra php-file for extracting only page 5 (this I know how to do)
OR
Change pages_menu.tpl (this I dont know how tod do) so that it doesn't list page 5 and create an extra template for page 5 only.

Some advise and help would be much appreciated.
Thanks in advance,

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