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: How do i remove options from the main menu IE Album list ect  (Read 6045 times)

0 Members and 1 Guest are viewing this topic.

aaronmyers

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How do i remove options from the main menu IE Album list ect
« on: January 10, 2004, 09:51:56 am »

Album list :: Login
Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search



how do i get rid of some of this stuff?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
How do i remove options from the main menu IE Album list ect
« Reply #1 on: January 10, 2004, 11:35:28 am »

These links are at the top of themes/yourtheme/theme.php.

Simply comment out the ones you don't want.  

ps, you can also put in your own links here  :wink:
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

aaronmyers

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How do i remove options from the main menu IE Album list ect
« Reply #3 on: January 10, 2004, 09:37:24 pm »

i'm not realy savy with php, how do i comment that i don't want the links, other than just removing everything
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
How do i remove options from the main menu IE Album list ect
« Reply #4 on: January 10, 2004, 10:13:33 pm »

These links are actually html code, and you use the html comment, i.e., <!--  the code you don't want  -->.

Depending on the theme you are using, there may be some cell formatting for the link, which you should include in the comment out.
example, in default, the link for top rated is;
Code: [Select]
<a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::

which commented out would be
Code: [Select]
<!--<a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::-->

but in hardwired you would have to remove all of this
Code: [Select]
<td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft1" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

aaronmyers

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How do i remove options from the main menu IE Album list ect
« Reply #5 on: January 11, 2004, 03:44:22 am »

ok, now. how to i remove Last additions and Random Pictures?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
How do i remove options from the main menu IE Album list ect
« Reply #6 on: January 11, 2004, 11:18:34 am »

  • only one question per thread!
  • RTFM :evil:  - it's in the documentation that comes with the coppermine package, thank you for reading first and asking later.[/list:u]

    GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 18 queries.