HOW TO HIDE TOP MENU ITEM LINKS? HOW TO HIDE TOP MENU ITEM LINKS?
 

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 TO HIDE TOP MENU ITEM LINKS?

Started by passenger57, September 27, 2005, 12:39:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

passenger57

 :)

Joachim Müller

yes, and this has been asked many times already. Please search before posting

passenger57

#2
 >:(

Joachim Müller

*yawn*
Edit themes/yourtheme/theme.php, find<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::and replace with<!--<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// 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.

passenger57

#4
 :)

Joachim Müller

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... ::)

passenger57

 :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(:\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(v :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(

artistsinhawaii

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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

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