forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: traumlos on November 21, 2004, 08:38:23 pm

Title: Menu at bottom?
Post by: traumlos on November 21, 2004, 08:38:23 pm
How do I manage to get the menu (Login, Members Gallery and so on) at the bottom of my gallery? So that the only thing that comes after the menu is the "Powered by Coppermine..."? Right now the menu is right (at the top) to the site logo.

detailed answer (where to change things and how) please beacause I'm not an expert in php... thanks a lot!
Title: Re: Menu at bottom?
Post by: Joachim Müller on November 22, 2004, 07:41:18 am
In fact you could do the same thing you need to do for creating a right-hand menu, refer to http://forum.coppermine-gallery.net/index.php?topic=8051.0

Joachim
Title: Re: Menu at bottom?
Post by: traumlos on November 30, 2004, 12:57:40 pm
but wouldn't the menu be right-hand instead of bottom then? I also don't know what to change in theme.php... plz give a more detailed answer, I don't have a clue yet what to change in which files. I don't understand much of php, so it would be helpful to explain it like you do it to a newbie. ;) THANKS!
Title: Re: Menu at bottom?
Post by: Casper on November 30, 2004, 01:52:25 pm
Well you just need to do the next logical step in this thread, http://forum.coppermine-gallery.net/index.php?topic=8051.msg36108#msg36108,
which would be to put the menus in a new row under the gallery, as opposed to a cell to the right.
Your template would the look something like this;

Code: [Select]
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
<table><tr>
<td>
{GALLERY}
</td>
</tr><tr>
<td>
{MAIN_MENU}
{ADMIN_MENU}
</td>
</tr></table>
Title: Re: Menu at bottom?
Post by: traumlos on November 30, 2004, 03:18:45 pm
okay I changed it like you said and now there is a {MAIN_MENU} at the bottom instead of...well...the main menu. ;) do I need to change anything in theme.php or index.php to make it work? and if so, what passage(s) do I have to move where?
Title: Re: Menu at bottom?
Post by: Nibbler on November 30, 2004, 03:26:50 pm
http://forum.coppermine-gallery.net/index.php?topic=12154
Title: Re: Menu at bottom?
Post by: traumlos on November 30, 2004, 03:51:51 pm
Ahhh thank you!
It's working fine. :)

just a little detail: is it possible to put the footer under the menu, i.o. words to switch positions of main menu and footer?
right now it's like this in template.php:

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

    echo template_eval($template_footer, $template_vars);
Title: Re: Menu at bottom?
Post by: Nibbler on November 30, 2004, 04:05:22 pm
Not really, the footer is a part of {GALLERY}.
Title: Re: Menu at bottom?
Post by: traumlos on November 30, 2004, 05:07:58 pm
okay, thank you anyway ... :)
would look nicer with the footer at the end but if it's impossible (or horribly complicated), then I leave it that way
Title: Re: Menu at bottom?
Post by: Joachim Müller on December 05, 2004, 01:24:52 am
neither impossible nor horribly complicated, but you will have to find out for yourself nevertheless, as telling you how to modify the footer would mean telling you how to get rid of it. Even though you probably won't do that, others might want to do so. As the footer must remain intact and visible, we won't tell. Hope you can understand this.

Joachim