coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: TPN on July 14, 2006, 05:18:23 PM

Title: Having trouble with {MAIN_MENU}
Post by: TPN on July 14, 2006, 05:18:23 PM
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
Title: Re: Having trouble with {MAIN_MENU}
Post by: Joachim Müller on July 14, 2006, 05:23:57 PM
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 (http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html). 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
Title: Re: Having trouble with {MAIN_MENU}
Post by: TPN on July 14, 2006, 05:36:09 PM
Fixed :) thanks