no navigation bar for guests --> navigation bar for members only ??? no navigation bar for guests --> navigation bar for members only ???
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

no navigation bar for guests --> navigation bar for members only ???

Started by stormtrooper, May 24, 2006, 11:26:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stormtrooper

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

Stramm

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