forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: passenger57 on September 27, 2005, 12:39:02 am

Title: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: passenger57 on September 27, 2005, 12:39:02 am
 :)
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: Joachim Müller on September 27, 2005, 07:51:09 am
yes, and this has been asked many times already. Please search before posting
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: passenger57 on September 27, 2005, 07:43:06 pm
 >:(
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: Joachim Müller on September 28, 2005, 09:16:31 am
*yawn*
Edit themes/yourtheme/theme.php, find
Code: [Select]
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::and replace with
Code: [Select]
<!--<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::-->to remove the link for everyone. Do the same thing to all other links you don't want displayed (do not remove them, but comment them out as suggested). To add links visible for the admin only, find
Code: [Select]
// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT

                <div align="center">
                <table cellpadding="0" cellspacing="1">
                        <tr>
                                <td class="admin_menu"><a href="editpics.php?mode=upload_approval" title="">{UPL_APP_LNK}</a></td>
                                <td class="admin_menu"><a href="config.php" title="">{CONFIG_LNK}</a></td>
                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="">{ALBUMS_LNK}</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="">{CATEGORIES_LNK}</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="">{USERS_LNK}</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="">{GROUPS_LNK}</a></td>
                                <td class="admin_menu"><a href="banning.php" title="">{BAN_LNK}</a></td>
                                <td class="admin_menu"><a href="db_ecard.php" title="">{DB_ECARD_LNK}</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="">{COMMENTS_LNK}</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="">{SEARCHNEW_LNK}</a></td>
                                <td class="admin_menu"><a href="util.php" title="">{UTIL_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
                        </tr>
                </table>
                </div>

EOT;
and edit this section accordingly.

However, I find it strange that you want to remove those links for regular users and recommend reviewing the overall idea.
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: passenger57 on September 29, 2005, 06:24:21 am
 :)
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: Joachim Müller on September 29, 2005, 08:57:30 am
your client? You claim to be a pro, yet you can't figure out how to search? You have no idea what upper case chars on a support board mean? Review your attitude, I would have expected such childish behaviour from a newbie kid, but not a pro. Refering to your client the way you do is not very nice and tells me even more about your attitude. I wish you good luck for the future... ::)
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: passenger57 on September 30, 2005, 07:38:09 am
 :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(:\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(v :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: artistsinhawaii on September 30, 2005, 08:23:11 am
passenger57,

Modifying your messages and deleting them after all the help you received is not only immature but unwarranted.  You are being rude, not only to the person who helped you, but to everyone who has access to these boards.  You waste my time when I could be helping others to see what is going on in this thread.  And you, undoubtedly will waste the time of countless of others.  Shame on you!

I think you owe everyone,  Gaugau, Devs, supporters, members and guests of coppermine a very sincere and humble appology.

Otherwise, you may find it difficult to receive help from others in the future.

I hope you are big enough to step forward and apologize.


Dennis
Title: Re: HOW TO HIDE TOP MENU ITEM LINKS?
Post by: Joachim Müller on September 30, 2005, 08:42:02 am
Dennis,

I don't think that passenger57 will be able to apologize, as I just banned him ;). It's people with an attitude like his/hers that make me wonder sometimes why I'm doing this? Thank god there are other people who make it worth while.
Locking this thread now.

Joachim