First Time User: Template Help! First Time User: Template Help!
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

First Time User: Template Help!

Started by sintax, January 21, 2004, 10:39:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sintax

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}

Casper

What changes did you make to the theme.php to format the menus?

Can you show that code?
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

sintax

I haven't made any changes to theme.php yet... it is just the default code.

Casper

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.
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

sintax

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.

sintax

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.  :(

Casper

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