Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Right hand menu - once again...  (Read 6681 times)

0 Members and 1 Guest are viewing this topic.

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
[Solved]: Right hand menu - once again...
« 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.
« Last Edit: July 22, 2004, 09:55:47 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Right hand menu - once again...
« Reply #1 on: July 18, 2004, 07:48:07 pm »

Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Right hand menu - once again...
« Reply #2 on: July 19, 2004, 05:14:49 am »

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

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Right hand menu - once again...
« Reply #3 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Right hand menu - once again...
« Reply #4 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
Logged

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Right hand menu - once again...
« Reply #5 on: July 20, 2004, 11:15:37 pm »

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

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Right hand menu - once again...
« Reply #6 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
Logged

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Right hand menu - once again...
« Reply #7 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Right hand menu - once again...
« Reply #8 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
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Right hand menu - once again...
« Reply #9 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Right hand menu - once again...
« Reply #10 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
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.