Advanced search  

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

Pages: [1]   Go Down

Author Topic: {main_menu} beneath the gallery  (Read 4199 times)

0 Members and 1 Guest are viewing this topic.

ppreidel

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
{main_menu} beneath the gallery
« 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? ???
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: {main_menu} beneath the gallery
« Reply #1 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.
« Last Edit: November 30, 2004, 02:56:38 am by kegobeer »
Logged
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

  • Guest
Re: {main_menu} beneath the gallery
« Reply #2 on: November 30, 2004, 02:34:21 pm »

Alter the function pagefooter() in your_theme/theme.php from

Code: [Select]
    echo $template_footer;

to

Code: [Select]
    $template_vars = array(
        '{MAIN_MENU}' => theme_main_menu(),
        );

    echo template_eval($template_footer, $template_vars);
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.