removing links from the front page removing links from the front page
 

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]

Main Menu

removing links from the front page

Started by roseberry123, January 26, 2005, 06:12:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

roseberry123

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

Casper

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;

<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;


             <!--      <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