coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: aaronmyers on January 10, 2004, 09:51:56 AM

Title: How do i remove options from the main menu IE Album list ect
Post by: aaronmyers on January 10, 2004, 09:51:56 AM
Album list :: Login
Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search



how do i get rid of some of this stuff?
Title: How do i remove options from the main menu IE Album list ect
Post by: Casper on January 10, 2004, 11:35:28 AM
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:
Title: How do i remove options from the main menu IE Album list ect
Post by: Joachim Müller on January 10, 2004, 11:58:20 AM
http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature
Title: How do i remove options from the main menu IE Album list ect
Post by: aaronmyers on January 10, 2004, 09:37:24 PM
i'm not realy savy with php, how do i comment that i don't want the links, other than just removing everything
Title: How do i remove options from the main menu IE Album list ect
Post by: Casper on January 10, 2004, 10:13:33 PM
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>
Title: How do i remove options from the main menu IE Album list ect
Post by: aaronmyers on January 11, 2004, 03:44:22 AM
ok, now. how to i remove Last additions and Random Pictures?
Title: How do i remove options from the main menu IE Album list ect
Post by: Joachim Müller on January 11, 2004, 11:18:34 AM