Support > cpg1.6 themes (visuals)

CUSTOM SUB_MENU BUTTONS

(1/2) > >>

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

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

--- End quote ---

*******
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 ***

Navigation

[0] Message Index

[#] Next page

Go to full version