Log in

View Full Version : Check it Out?


Chadi
07-19-2008, 02:38 AM
In my who's online section, the majority of people on the home page (or so it seems) shows this

Viewing Gallery Check it Out

The weird thing is that the check it out page is the first ajax tab on the home page (right side shoutbox) which if you click the link, shows you that custom vb template page, which is merely the 4 icons from that first ajax tab.

How can I fix that so who's online properly shows "index" or whatever default it should show when the member is on the home page?

I have this in forumhome template

<link rel="stylesheet" type="text/css" href="clientscript/ajaxtabs/ajaxtabs.css" />
<script type="text/javascript" src="clientscript/ajaxtabs/ajaxtabs.js"></script>

That's above head section

In the body I have

<div align="center">
<div id="flowerdivcontainer" style="width:250px; height: 200px; padding: 2px"></div>
<div id="flowertabs" class="modernbricksmenu2">
<ul>
<li><a href="misc.php?do=page&template=ajax1" class="selected">Fun</a></li>
<li><a href="misc.php?do=page&template=ajax2">Forum</a></li>
<li><a href="misc.php?do=page&template=ajax3">Bible</a></li>
<li><a href="misc.php?do=page&template=ajax4">Tools</a></li>
<li><a href="misc.php?do=page&template=ajax5">?</a></li>
</ul>
</div>
</div>

<script type="text/javascript">
var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
myflowers.setpersist(true)
myflowers.setselectedClassTarget("link") //"link" or "linkparent"
myflowers.init()
</script>

Marco van Herwaarden
07-19-2008, 09:08 AM
Most likely caused by this AJAX tab modification you have installed. I guess it is setting the location, and it should not do so as it is not the main page but embedded on other pages.