1
thernes
Problems with user menu
  • 2004/10/19 21:41

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


I have a small problem with my user menu

With the current skin I am using, the "Administration" link disappears from the bottom of the menu. It's there, but it's not visible. I have tried to put a line-break after it, but it doesn't make any differencen. Here is what the template files looks like;
(system_block_user.html)
<table cellspacing="0">
<tr>
<td id="usermenu"><{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}></a>
<{/if}>
<a 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}>/notifications.php"><{$block.lang_notifications}></a>
<a href="<{$xoops_url}>/user.php?op=logout"><{$block.lang_logout}></a>
<{if $block.new_messages > 0}>
<a 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}>
</td>
</tr>
</table>

As you can see, I have tried to add the admin-link on top, but it still shows up at the bottom, hidden.

any help would be greatly appreciated :)

Thomas

2
JackJ
Re:Problems with user menu
  • 2004/10/19 23:26

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


You have moved the admin link outside the class being called in your style.css in your theme folder i.e.

<a class="menuTop" href=" etc etc

this is defined in the td#usermenu class in your style sheet

the colours may be now clashing because the class is not applied

3
thernes
Re:Problems with user menu
  • 2004/10/19 23:34

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


ok, I have change it, so it is inside it's class. But it still does not show the admin menu. And what is really strange is that when i log on as an administrator, it shows up just fine. But when my co-admin log on, with limited administrator right log on, it's hidden below the Inbox-link. It's not visible, but if he moved his mouse under the inbox-link, he can access the admin-section.

4
JackJ
Re:Problems with user menu
  • 2004/10/20 0:05

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


The admin menu should not show up till you log in as anyway, so that part is OK. Is your co-admin using another computer? Possibly the cache needs cleared out. I would also try clearing out your template_c folder.

For specifics if this does not work I would need to know the theme you are using to attempt to reproduce this

5
thernes
Re:Problems with user menu
  • 2004/10/20 15:15

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


heh....ok, I've cleared out the templates_c dir. After I did this, all the entries in the User menu disappeared. No help clearing out the cache either.

The skin I am using, is this;https://xoops.org/modules/library/singlefile.php?cid=1&lid=103

I'll keep trying ;)

6
thernes
Re:Problems with user menu
  • 2004/10/21 7:29

  • thernes

  • Just popping in

  • Posts: 11

  • Since: 2004/8/27


I finally managed to mess things up so bad, that I had to reinstall XOOPS

Login

Who's Online

201 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

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

Latest GitHub Commits