forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 themes (visuals) => Topic started by: allpiuse on February 06, 2022, 11:07:27 pm

Title: CUSTOM SUB_MENU BUTTONS
Post by: allpiuse 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:
Title: Re: CUSTOM SUB_MENU BUTTONS
Post by: phill104 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
Title: Re: CUSTOM SUB_MENU BUTTONS
Post by: allpiuse 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
Title: Re: CUSTOM SUB_MENU BUTTONS
Post by: allpiuse 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.
Title: Re: CUSTOM SUB_MENU BUTTONS
Post by: allpiuse on February 08, 2022, 09:19:35 pm
I found it


*** PROBLEM SOLVED ***
Title: Re: CUSTOM SUB_MENU BUTTONS
Post by: allpiuse on May 14, 2022, 07:08:15 pm
Hello dear,

problem was solved, please can you delete this post for personal reasons? Thank you!