{main_menu} beneath the gallery {main_menu} beneath the gallery
 

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

{main_menu} beneath the gallery

Started by ppreidel, November 29, 2004, 10:37:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ppreidel

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? ???

kegobeer

#1
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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

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);