Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Moving buttons between SYS_MENU and SUB_MENU  (Read 2964 times)

0 Members and 1 Guest are viewing this topic.

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Moving buttons between SYS_MENU and SUB_MENU
« on: August 26, 2009, 11:01:18 pm »

Hi

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

Changing
Code: [Select]
addbutton($sys_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sys_menu_spacer); to
Code: [Select]
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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moving buttons between SYS_MENU and SUB_MENU
« Reply #1 on: August 27, 2009, 09:46:15 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.