forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: bewbs on July 18, 2004, 06:15:52 pm

Title: [Solved]: Right hand menu - once again...
Post by: bewbs on July 18, 2004, 06:15:52 pm
Hi,

I know Coppermine already has information on making a right hand menu, so I'm just going to go ahead and say I don't understand one bit of it. I did my good share of searching through the forums for related topics, and all of them are so jumbled with no 'conclusion overview' results that I'm left in the dust. (I know nothing about PHP, nor do I know how to do anything with it... so that could explain a bit.   :D)

So, uh... can anyone spoon-feed me a tutorial on how to do this? Completely? From reading the other topics, I was lost with 'pagefooter', 'pageheader', '{command_here}' - so, please, if you intend to help, be sure to have plenty of details up your sleeves for me...

Thanks much.
Title: Re: Right hand menu - once again...
Post by: Joachim Müller on July 18, 2004, 07:48:07 pm
you might find this posting helpfull: http://forum.coppermine-gallery.net/index.php?topic=6353.msg35413#msg35413

GauGau
Title: Re: Right hand menu - once again...
Post by: Tarique Sani on July 19, 2004, 05:14:49 am
You can use a CSS based theme search for XHTML
Title: Re: Right hand menu - once again...
Post by: bewbs on July 20, 2004, 12:51:38 am
I did what you said in the link you sent me GauGau, and the tags {MAIN_MENU} and {ADMIN_MENU} show up on my page.

So, what did I do wrong?
Title: Re: Right hand menu - once again...
Post by: Joachim Müller on July 20, 2004, 07:20:56 am
urm, what? To illustrate the issue you're facing, please post a link to your gallery with your modified theme (no matter if it's broken).

GauGau
Title: Re: Right hand menu - once again...
Post by: bewbs on July 20, 2004, 11:15:37 pm
http://hyung-taekim.org/index.php

Here are template.html and theme.php for your convinence.
Title: Re: Right hand menu - once again...
Post by: Joachim Müller on July 21, 2004, 06:37:15 pm
OK, according to your template.html's content the {ADMIN_MENU} and {MAIN_MENU} come before the {GALLERY}. This means: your template.html is no right-hand menu file, but it has a pretty ordinary structure.
Solution 1:  you don't really want a right-hand menu, but just the menus to appear where they are located. To accomplish this, undo your changes to theme.php and you should be fine
Solution 2: you actually want a right-hand menu: then modify your template.html

GauGau
Title: Re: Right hand menu - once again...
Post by: bewbs on July 21, 2004, 08:47:02 pm
Hehe, but that's why I started this topic - I have no idea how to edit what I'm supposed to to have a right-hand menu.

So I'm still left with no right-hand menu...

All I need information on is what to edit in [filenamehere] to be able to have a right-hand menu on my website.
Title: Re: Right hand menu - once again...
Post by: Casper on July 21, 2004, 09:23:42 pm
Try the 'Renolds theme' on this thread.  It's got the right side menu you want, and looks extremely good.
You should find it easy to modify the colours to what you want, if not happy with the current set.

http://forum.coppermine-gallery.net/index.php?topic=8057.0
Title: Re: Right hand menu - once again...
Post by: bewbs on July 21, 2004, 11:14:57 pm
Perfect, thank you!

I was going to do this originally, but I thought maybe it would somehow be unethical...

Thanks again.
Title: Re: [Solved]: Right hand menu - once again...
Post by: Joachim Müller on July 22, 2004, 10:01:09 am
just to explain the differences:
This would result in a menu at the top of the page
Code: [Select]
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
{MAIN_MENU}
{ADMIN_MENU}
{GALLERY}

This would be a left-hand menu (still no changes needed in theme.php):
Code: [Select]
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
<table><tr><td>
{MAIN_MENU}
{ADMIN_MENU}
</td>
<td>
{GALLERY}
</td></tr></table>

This would be a right-hand menu (changes needed in theme.php to reflect the different order of {GALLERY} and {XXX_MENU}:
Code: [Select]
<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
<table><tr>
<td>
{GALLERY}
</td>
<td>
{MAIN_MENU}
{ADMIN_MENU}
</td>
</tr></table>

GauGau