forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: giorgio79 on February 16, 2007, 12:05:17 am
-
Hello Guys,
Would you know a simple way of limiting the SUB_MENU display to certain pages?
Would I have to code them into the appropriate php file?
Cheers,
Gyuri
-
No, do it the other way round: add an if/then switch to theme.php that determines which page you're on (by checking for $PHP_SELF) and output the menu only if you're on another page than the one you checked for.
-
Thanks GauGau!
I appreciate your kind help!
This works like a charm.
-
could you give a sample code? pls GauGau