1
sednax
help me enchance my theme..
  • 2006/7/4 10:34

  • sednax

  • Just popping in

  • Posts: 16

  • Since: 2006/6/5 1


i want this menu insterted in my theme.html file instead of the one that is displayed now (on this one), but only for registered members.

right now, i've got this in my theme.html file that represents that menu:

<table cellspacing="0" cellpadding="0" width="100%" border="0">
                  <{if 
$xoops_isuser}> 
                 <
tr align="right">
                  <
td id="headmenu" bgcolor="#6b6b6b">
                  <
script language="JavaScript" src="menu.js"></script
                  </
td>
                 </
tr>
                  <{else}> 
                 <
tr align="center">
                  <
td id="headmenu" width="288" bgcolor="#6b6b6b">
                  <
td id="headmenu"><class="menuHead" href="http://www.sednax.ws/">HOME</td>
                  <
td id="headmenu"><class="menuHead" href="http://www.sednax.ws/modules/AMS">ARTICLES</td>
                  <
td id="headmenu"><class="menuHead" href="http://www.sednax.ws/modules/newbb">FORUM</td>
                  <
td id="headmenu"><class="menuHead" href="http://www.sednax.ws/modules/contact">CONTACT</td>
                  </
td>
                 </
tr>
                  <{/if}>
      </
table>


the menu.js script file is this one: menu.js

my problem is that i don't get the menu, but nothing. of course, you need to register in order to see it, so i've created an account for you (spamming = ip ban)

username = drull
pass = qwerty

i believe it has something to do with the theme css file and the menu css that conflict, but i'm not sure.. i'm busy with this for 2 days now and i can't see the problem... help

thanks
sednax

2
Quest
Re: help me enchance my theme..
  • 2006/7/4 12:41

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Not sure why it works in your test theme and doesn't in your site theme, but for some reason in your site theme it is not recognising the path to the menu.js.

Add this <{$xoops_imageurl}> befor the menu.js and I got it to work.

<table cellspacing="0" cellpadding="0" width="100%" border="0">
<{if $xoops_isuser}>
<tr align="right">
<td id="headmenu" bgcolor="#6b6b6b">
<script language="JavaScript" src="<{$xoops_imageurl}>menu.js"></script>
</td>
</tr>

Quest

3
sednax
Re: help me enchance my theme..
  • 2006/7/5 8:36

  • sednax

  • Just popping in

  • Posts: 16

  • Since: 2006/6/5 1


okay it works almost. thanks quest! The only problem now is that the menu doesn't show up as it should..

4
sednax
Re: help me enchance my theme..
  • 2006/7/13 16:51

  • sednax

  • Just popping in

  • Posts: 16

  • Since: 2006/6/5 1


never mind, i have found the problem.

Login

Who's Online

191 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

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

Latest GitHub Commits