{MAIN_MENU} order {MAIN_MENU} order
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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