Advanced search  

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]

Pages: [1]   Go Down

Author Topic: {MAIN_MENU} order  (Read 3582 times)

0 Members and 1 Guest are viewing this topic.

yli

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
{MAIN_MENU} order
« 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?
Logged

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: {MAIN_MENU} order
« Reply #1 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

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: {MAIN_MENU} order
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.