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

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

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 1 Guest 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