Hi, i found in "HTML template for template sys_menu buttons" {HOME_LNK},{MY_GAL_LNK},{MEMBERLIST_LNK},{MY_PROF_LNK},{ADM_MODE_LNK},{USR_MODE_LNK},{UPL_PIC_LNK}... register, faq, login and logout. I know these tags are responsible for showing links from sys_menu on our page. And where should i look if i want to change theyr appearance. I would like place images instead of text for these tags.
Quote from: Luk on June 28, 2008, 07:23:24 PM
Hi, i found in "HTML template for template sys_menu buttons" {HOME_LNK},{MY_GAL_LNK},{MEMBERLIST_LNK},{MY_PROF_LNK},{ADM_MODE_LNK},{USR_MODE_LNK},{UPL_PIC_LNK}... register, faq, login and logout. I know these tags are responsible for showing links from sys_menu on our page. And where should i look if i want to change theyr appearance. I would like place images instead of text for these tags.
Luk,
For the menu item you want to change, replace the {XXX_LNK} token with your image tag.
So for example to change the album link button, change:
addbutton($sub_menu_buttons,'{ALB_LIST_LNK}','{ALB_LIST_TITLE}','{ALB_LIST_TGT}','album_list',$template_sub_menu_spacer);
to:
addbutton($sub_menu_buttons,'<img src="path_to_image/image.png" />','{ALB_LIST_TITLE}','{ALB_LIST_TGT}','album_list',$template_sub_menu_spacer);
thank you :-)