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

Title: {MAIN_MENU} order
Post 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?
Title: Re: {MAIN_MENU} order
Post by: snork13 on December 30, 2004, 06:07:48 am
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

Title: Re: {MAIN_MENU} order
Post by: Joachim Müller on December 30, 2004, 01:53:25 pm
edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for main menuand edit the stuff below that line. Make sure to leave the comments like
Code: [Select]
<!-- BEGIN album_list -->intact, it's needed for coppermine. To get rid of e.g. the "my profile" link, change
Code: [Select]
<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
to
Code: [Select]
<!-- BEGIN my_profile -->
                        <!--<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::-->
<!-- END my_profile -->
(example for classic theme, other themes work similarly).

Joachim