{MAIN_MENU} order {MAIN_MENU} order
 

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]

Main Menu

{MAIN_MENU} order

Started by yli, December 30, 2004, 05:52:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yli

what to file to modify to change the order of links from {MAIN_MENU}  ? or eliminate some links?

snork13

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


Joachim Müller

edit themes/yourtheme/theme.php, find// HTML template for main menuand 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