Having trouble with {MAIN_MENU} Having trouble with {MAIN_MENU}
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Having trouble with {MAIN_MENU}

Started by TPN, July 14, 2006, 05:18:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TPN

Hey all,

Gallery have been working for months, but now instead of seeing the menu all we see is "{MAIN_MENU}"

Link: http://www.mypetnetwork.tv/gallery_1/index.php

Thoughts ?

Thanks

Joachim Müller

Did you perform an upgrade from cpg1.3.x to cpg1.4.x just recently? The token {MAIN_MENU} is a leftover from cpg1.3.x - it doesn't exist in themes designed for cpg1.4.x.
To fix this, you'll have to update your theme as suggested in the theme upgrade guide. In fact, your custom theme appears to be based on the classic theme, with some color adjustments and a custom logo and navigation. If this is the case, you can skip the steps mentioned in the theme upgrade guide that deals with the modifications needed for theme.php and copy the cpg1.4.x version of the classic theme into your custom theme folder instead. The only thing left to do then is editing template.html of your custom theme - you'll have to adjust the tokens as suggested in  http://coppermine-gallery.net/demo/cpg14x/docs/theme/edit_template.html

TPN