[Solved]: Right hand menu - once again... [Solved]: Right hand menu - once again...
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Right hand menu - once again...

Started by bewbs, July 18, 2004, 06:15:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bewbs

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.

Joachim Müller


Tarique Sani

You can use a CSS based theme search for XHTML
SANIsoft PHP applications for E Biz

bewbs

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?

Joachim Müller

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

bewbs

http://hyung-taekim.org/index.php

Here are template.html and theme.php for your convinence.

Joachim Müller

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

bewbs

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.

Casper

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
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bewbs

Perfect, thank you!

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

Thanks again.

Joachim Müller

just to explain the differences:
This would result in a menu at the top of the page<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):<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}:<h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3><br />
<table><tr>
<td>
{GALLERY}
</td>
<td>
{MAIN_MENU}
{ADMIN_MENU}
</td>
</tr></table>


GauGau