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

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

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