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: ADMIN_MENU at the left side instead of at the top...  (Read 3276 times)

0 Members and 1 Guest are viewing this topic.

adnoctum

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
ADMIN_MENU at the left side instead of at the top...
« on: November 05, 2006, 12:23:51 am »

My menu is starting to look great now (SYS_Menu)...

But there are two more things that I want to change...

I have the menu links on the left side now under each other, separated with a <hr> line.

But the user buttons (change order, change profile etc) and the admin links are still at the top.
Is it possible to get all links in the left table column as the sys_menu ?

See the site here: http://www.hovastyling.com/galleri/index.php
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: ADMIN_MENU at the left side instead of at the top...
« Reply #1 on: November 05, 2006, 04:53:41 am »

Thank you for starting a new thread.

If you don't have the $template_gallery_admin_menu and $template_user_admin_menu in your theme.php file, copy them from the sample>theme.php and paste them into yours. Then edit them the same way you did the {SYS_MENU} and {SUB_MENU} and then place the {ADMIN_MENU} underneath them in your template.html. Personally I would have created the menus using a list styling as it makes the code much cleaner. If you need further help, zip up your theme and attach it here.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

adnoctum

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: ADMIN_MENU at the left side instead of at the top...
« Reply #2 on: November 05, 2006, 11:17:09 am »

Well, for the {SYS_MENU} I have used the following line in the "theme.php" file:

Code: [Select]
$template_sys_menu_spacer='<br /><hr width="100%" size="1" color="#FFFFFF">';
I do have a left side menu for SYS_MENU and SUB_MENU, but I donīt really get what I have done to get the SUB_MENU to look as SYS_MENU, because I have not made any changes for the SYS_MENU in the "theme.php" file.

What I want here is the SYS_MENU at the top left side, the USER_ADMIN_MENU below it and SUB_MENU below that one...

The ADMIN_MENU could be at the top, or in a drop down list or something....

See attached zip file with my theme (minus the image files)....


Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: ADMIN_MENU at the left side instead of at the top...
« Reply #3 on: November 05, 2006, 03:27:29 pm »

It looks like you copied the complete theme.php file from the sample theme. Go back and read the sticky at the top of this board - http://forum.coppermine-gallery.net/index.php?topic=24056.0. Since your theme uses many little images to create a simple header image, it's difficult to read through which I won't. You're going to need to help here by either supplying the complete theme, some screenshots of what your issues are or login information.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.