Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: {MAIN_MENU} order  (Read 3804 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.017 seconds with 19 queries.