How do i remove options from the main menu IE Album list ect How do i remove options from the main menu IE Album list ect
 

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

How do i remove options from the main menu IE Album list ect

Started by aaronmyers, January 10, 2004, 09:51:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aaronmyers

Album list :: Login
Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search



how do i get rid of some of this stuff?

Casper

These links are at the top of themes/yourtheme/theme.php.

Simply comment out the ones you don't want.  

ps, you can also put in your own links here  :wink:
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


aaronmyers

i'm not realy savy with php, how do i comment that i don't want the links, other than just removing everything

Casper

These links are actually html code, and you use the html comment, i.e., <!--  the code you don't want  -->.

Depending on the theme you are using, there may be some cell formatting for the link, which you should include in the comment out.
example, in default, the link for top rated is;
<a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::

which commented out would be
<!--<a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::-->

but in hardwired you would have to remove all of this
<td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft1" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
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

aaronmyers

ok, now. how to i remove Last additions and Random Pictures?

Joachim Müller

  • only one question per thread!
  • RTFM :evil:  - it's in the documentation that comes with the coppermine package, thank you for reading first and asking later.[/list:u]

    GauGau