forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: yli on December 30, 2004, 05:52:26 am
-
what to file to modify to change the order of links from {MAIN_MENU} ? or eliminate some links?
-
not sure what links you are trying to change, but try reading the doc files. always backup files.
files to edit are in your theme:
template.html
theme.php
style.css
-
edit themes/yourtheme/theme.php, find
// HTML template for main menu
and edit the stuff below that line. Make sure to leave the comments like<!-- BEGIN album_list -->
intact, it's needed for coppermine. To get rid of e.g. the "my profile" link, change<!-- BEGIN my_profile -->
<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
to<!-- BEGIN my_profile -->
<!--<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::-->
<!-- END my_profile -->
(example for classic theme, other themes work similarly).
Joachim