coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: sintax on January 21, 2004, 10:39:44 PM

Title: First Time User: Template Help!
Post by: sintax on January 21, 2004, 10:39:44 PM
As you can see from my website (http://www.dizandat.com/gallery/index.php?theme=site) I am having some problems with a custom template. I wanted to move the menus (user and admin) to my right side column. The problem is is that they are not showing up... just the {MAIN_MENU] and {ADMIN_MENU}.

Any ideas what this is happing? This is the snippet of code from my template.html page:

<!-- RIGHT SIDE COLUMN -->

<div class="sidetitle">main user menu</div>

{MAIN_MENU}

<div class="sidetitle">administration menu</div>

{ADMIN_MENU}
Title: First Time User: Template Help!
Post by: Casper on January 21, 2004, 10:55:25 PM
What changes did you make to the theme.php to format the menus?

Can you show that code?
Title: First Time User: Template Help!
Post by: sintax on January 21, 2004, 10:57:10 PM
I haven't made any changes to theme.php yet... it is just the default code.
Title: First Time User: Template Help!
Post by: Casper on January 21, 2004, 11:20:54 PM
I've had a quick look, and it looks to me that the coppermine installation has been split into 2 different directorys.
The {GALLERY} is in 'http://www.dizandat.com/images/photos/', whilst the menus that don't work are in 'http://www.dizandat.com/gallery/'.

I'm guessing that this is why.
Title: First Time User: Template Help!
Post by: sintax on January 21, 2004, 11:30:29 PM
no, the /photos directory is where my current gallery is. I am trying to install Coppermine so I can get rid of the old one.
Title: First Time User: Template Help!
Post by: sintax on January 21, 2004, 11:33:22 PM
It seems that the menu's have to come BEFORE the gallery is called. So the menus have to go on the left side... not the right. Of course that won't work for me so I guess I am S.O.L.  :(
Title: First Time User: Template Help!
Post by: Casper on January 21, 2004, 11:45:05 PM
Not necessarily.
look at this thread;
 http://coppermine.sourceforge.net/faq.php?q=rightHandMenu#rightHandMenu