Moving buttons between SYS_MENU and SUB_MENU Moving buttons between SYS_MENU and SUB_MENU
 

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

Moving buttons between SYS_MENU and SUB_MENU

Started by darkheartagram, August 26, 2009, 11:01:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darkheartagram

Hi

I'd like to change some buttons positions between SYS_MENU and SUB_MENU.

Changing addbutton($sys_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sys_menu_spacer); to addbutton($sub_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sub_menu_spacer); gave no result ( there is on ly token {MY_GAL_TITLE} or other from this three tokens )

My CPG version 1.4.24
http://student.agh.edu.pl/~pawelek/coppermine/ my gallery

Joachim Müller

Just adding tokens to the menu won't do anything at all, you have to populate the tokens as well, as they are just placeholders. Zip your custom theme's folder and attach the zip to your posting here.