forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: roseberry123 on January 26, 2005, 06:12:00 pm

Title: removing links from the front page
Post by: roseberry123 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
Title: Re: removing links from the front page
Post by: Casper 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> ::       -->