CUSTOM SUB_MENU BUTTONS CUSTOM SUB_MENU BUTTONS
 

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

CUSTOM SUB_MENU BUTTONS

Started by allpiuse, February 06, 2022, 11:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

allpiuse

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:

phill104

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
It is a mistake to think you can solve any major problems just with potatoes.

allpiuse

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

allpiuse

Quote from: Phill Luckhurst 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

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

allpiuse

I found it


*** PROBLEM SOLVED ***

allpiuse

Hello dear,

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