Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CUSTOM SUB_MENU BUTTONS  (Read 1473 times)

0 Members and 1 Guest are viewing this topic.

allpiuse

  • Guest
CUSTOM SUB_MENU BUTTONS
« on: February 06, 2022, 11:07:27 pm »

Hello there,

please anyone can help me? I would like to delete some sections from the top Sub_Menu but idk how. When I try to put "$template_sys_menu_button = <" the page stays blank white. In my theme related to the sub_menu is only this:

$template_vars = array(
        '{LANG_DIR}' => $lang_text_dir,
        '{TITLE}' => theme_page_title($section),
        '{CHARSET}' => $charset,
        '{META}' => $meta,
        '{GAL_NAME}' => $CONFIG['gallery_name'],
        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
        '{SYS_MENU}' => theme_main_menu('sys_menu'),
        '{SUB_MENU}' => theme_main_menu('sub_menu'),
        '{ADMIN_MENU}' => theme_admin_mode_menu(),
        '{CUSTOM_HEADER}' => $custom_header,
        '{JAVASCRIPT}' => theme_javascript_head(),
        '{MESSAGE_BLOCK}' => theme_display_message_block(),
    );


See the pic below how I want the menu to look like:
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4858
    • Windsurf.me
Re: CUSTOM SUB_MENU BUTTONS
« Reply #1 on: February 08, 2022, 10:19:55 am »

It has been a while since I used it but IIRC this plugin provides that functionality = https://forum.coppermine-gallery.net/index.php/topic,79580.0.html
Logged
It is a mistake to think you can solve any major problems just with potatoes.

allpiuse

  • Guest
Re: CUSTOM SUB_MENU BUTTONS
« Reply #2 on: February 08, 2022, 07:10:51 pm »

OMG thank  you so much, it works perfectly and so easy to use!  :) I was so sad that I couldn't change it  :-X
Logged

allpiuse

  • Guest
Re: CUSTOM SUB_MENU BUTTONS
« Reply #3 on: February 08, 2022, 08:50:22 pm »

It has been a while since I used it but IIRC this plugin provides that functionality = https://forum.coppermine-gallery.net/index.php/topic,79580.0.html

*******
Can i Ask how can I get rid of "contact" in admin mode? I do not need contact especially not in admin mode.
Logged

allpiuse

  • Guest
Re: CUSTOM SUB_MENU BUTTONS
« Reply #4 on: February 08, 2022, 09:19:35 pm »

I found it


*** PROBLEM SOLVED ***
Logged

allpiuse

  • Guest
Re: CUSTOM SUB_MENU BUTTONS
« Reply #5 on: May 14, 2022, 07:08:15 pm »

Hello dear,

problem was solved, please can you delete this post for personal reasons? Thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 22 queries.