Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Moving buttons between SYS_MENU and SUB_MENU  (Read 2957 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.017 seconds with 19 queries.