coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ppreidel on November 29, 2004, 10:37:12 AM

Title: {main_menu} beneath the gallery
Post by: ppreidel on November 29, 2004, 10:37:12 AM
Hi there !

As i am very new to php and of course coppermine i need some easy-to-understand answers please.

I would like to move the main_menu beneath the gallery. but if i move it in the template.html, it won't appear. where do i have to make changes to have the menue beneath the gallery itself? ???
Title: Re: {main_menu} beneath the gallery
Post by: kegobeer on November 30, 2004, 02:40:16 AM
You should upgrade to 1.3.2 first, but that won't solve your dilemma.  I've poked around a bit and haven't had any luck either.  GauGau is on holiday, but when he gets back he will hopefully point you in the right direction.
Title: Re: {main_menu} beneath the gallery
Post by: Nibbler on November 30, 2004, 02:34:21 PM
Alter the function pagefooter() in your_theme/theme.php from


    echo $template_footer;


to


    $template_vars = array(
        '{MAIN_MENU}' => theme_main_menu(),
        );

    echo template_eval($template_footer, $template_vars);