Advanced search  


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.

Pages: [1]   Go Down

Author Topic: removing links from the front page  (Read 3354 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 18
removing links from the front page
« on: January 26, 2005, 06:12:00 pm »


I tried checking the FAQs, but I couldn't find any information on it, so I hope it's okay to ask the question here. I was wondering, how do you delete the links to "last comments," "most viewed," "top rated" and "my favorites" from the top part of "index.php"?

Thank you.


  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: removing links from the front page
« Reply #1 on: January 26, 2005, 06:22:41 pm »

in yout theme.php, find the '// HTML template for main menu', and look for the links you don't want.  Comment them out like this, which is showing the classic theme;

Code: [Select]
<a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
                        <a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> ::
                        <a href="{TOPN_TGT}">{TOPN_LNK}</a> ::
                        <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::
                        <a href="{FAV_TGT}">{FAV_LNK}</a> ::
                        <a href="{SEARCH_TGT}">{SEARCH_LNK}</a>

Comment out each one you don't want like this;

Code: [Select]
             <!--      <a href="{TOPN_TGT}">{TOPN_LNK}</a> ::       -->
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
Pages: [1]   Go Up

Page created in 0.02 seconds with 20 queries.