1
otr222
Edit users menu
  • 2005/6/27 17:50

  • otr222

  • Not too shy to talk

  • Posts: 124

  • Since: 2005/5/13


The user menu contains:
View Account
Edit Account
Notifications
Logout
Inbox

Is it possible to eliminate (remove) the "Notifications" link from that menu? If so what file?

thankyou

2
Gambero[removed]
Re: Edit users menu

Go to Administration ... System / Blocks /

Find block USER MENU and click EDIT

Click edit template

Remove this line:

<a href="<{$xoops_url}>/notifications.php"><{$block.lang_notifications}>a>


OR

replace the code with this one:

<table cellspacing="0">
  <
tr>
    <
td id="usermenu">
      <
class="menuTop" href="<{$xoops_url}>/user.php"><{$block.lang_youraccount}>a>
      <
a href="<{$xoops_url}>/edituser.php"><{$block.lang_editaccount}>a>
      <
a href="<{$xoops_url}>/user.php?op=logout"><{$block.lang_logout}>a>
      <{if 
$block.new_messages 0}>
        <
class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}>span>)a>
      <{else}>
        <
a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}>a>
      <{/if}>

      <{if 
$xoops_isadmin}>
        <
a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}>a>
      <{/if}>
    td>
  tr>
table>


And save.

3
otr222
Re: Edit users menu
  • 2005/6/27 18:25

  • otr222

  • Not too shy to talk

  • Posts: 124

  • Since: 2005/5/13


Thankyou Gambero

That sounds easier than the way I finally figured out how to do it.

I found the file:
modules\system\templates\blocks\system_block_user.html
and cut out:
<{$block.lang_notifications}>

thanks again

4
SuperGeek
Re: Edit users menu
  • 2005/7/16 21:06

  • SuperGeek

  • Just popping in

  • Posts: 16

  • Since: 2005/1/12


Don't forget to go to Administration ... System / Modules / and click the "update" icon in the "action" column for the "system" module.

-SG

Login

Who's Online

408 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 408


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits