coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: stormtrooper on May 24, 2006, 11:26:39 AM

Title: no navigation bar for guests --> navigation bar for members only ???
Post by: stormtrooper on May 24, 2006, 11:26:39 AM
hi ya!

I've just installed CPG 1.4.6 and changed the theme a little bit.
The gallery is bridged to Invisionboard 1.3.

What I'd to have is, that a guest can only see the gallery without navigation bar.
But people logged in to the Invisionboard can see the navigation bar.
Where is the code where I have to differentiate those two curcumstances?

greets
Title: Re: no navigation bar for guests --> navigation bar for members only ???
Post by: Stramm on May 25, 2006, 01:16:57 AM
one solution would be to copy function theme_main_menu from themes/sample/theme.php to the theme.php you're actually using and modifying it to your needs