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: removing links from the front page  (Read 3538 times)

0 Members and 1 Guest are viewing this topic.

roseberry123

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

Hi,

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.
June
Logged

Casper

  • 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> ::       -->
                     
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
Pages: [1]   Go Up
 

Page created in 0.115 seconds with 20 queries.