Top menu home button not highlighted


Author Message
Daniel

Posted: 5/17/2009
Quote message 

On my webpage, the home button is not being highlighted when its on that page. When I go to another page, it works fine and the button is highlighted. When I click back on the home button, it is still not highlighted.<br/><br/>

When it's on the homepage, it's not lighting:<br/>
<a href='http://img200.imageshack.us/my.php?image=45262288.jpg'><img src='http://img200.imageshack.us/img200/587/45262288.jpg' border='0' alt='Image Hosted by ImageShack.us'/></a><br/><br/>

When it's on another menu item, it works fine:<br/>
<a href='http://img200.imageshack.us/my.php?image=36672870.jpg'><img src='http://img200.imageshack.us/img200/7748/36672870.jpg' border='0' alt='Image Hosted by ImageShack.us'/></a><br/><br/>

Anyone know what to do?
 
Your Web Pros

Posted: 5/17/2009
Quote message 

Hi,

Put the link of your site here please, so we could take a look of the issue.

yourwebpros - pongz
 
Daniel

Posted: 5/18/2009
Quote message 

It's a porn site so I dunno if it would be appropriate. I'll post the link if its fine, just let me know.
 
ALASKALIVE.NET

Posted: 5/19/2009
Quote message 

My site is doing the same thing.
When a person first goes to the site... the Home button is NOT highlighted, but once you start using the menu, it highlights what ever page you are on tab.

http://alaskalive.net/site/index.php?option=com_content&view=frontpage&Itemid=3

A work in progress... I might say. OMG, THANK ALL INVOLVED IN THIS PROGRAM... i LOVE IT!!!
tHANK YOU.

MY EMAIL david <@> bluefiremedia.biz
 
PDGWeb

Posted: 5/28/2009
Quote message 

I just noticed this issue - haven't found the reason for the error yet but if you look at the source code on the pages that work you should see something like this:

<li id="current" class="active item19"><a href="url here" class="active"><span class="l"> </span><span class="r"> </span><span class="t">News</span></a></li>

The pages where the menu is not remaining highlighted look like this.

<li class="item17"><a href="/index.php"><span class="l"> </span><span class="r"> </span><span class="t">Home</span></a></li>

If you notice the li class does not start with active and there is no class="active" assigned to the first <a href> tag. I will look around and if I come up w/ answer will post it.

 
PDGWeb

Posted: 5/28/2009
Quote message 

Just to clarify the above I think Artisteer is supposed to be assigning this to each link that is supposed to be highlighted when you are on the current page:

<li id="current" class="active item19"><a href="/urlhere" class="active">....

I would have to check the css but either the id or class[/li] or maybe both should contain the code telling the tab or link to appear highlighted when the user is on the selected page.
 
PDGWeb

Posted: 5/28/2009
Quote message 

Nevermind - I found the issue that was occurring on the one Joomla site, for those interested. I had installed a template to a site that already had some configuration done to the menu.

To get the top menu to stay highlighted I had to resetup the menu items - that rewrote the code and it worked fine. FYI.
 
alaskalivedotnet

Posted: 5/28/2009
Quote message 

:-) :-) :-) :-) :-)
Working on the site, http://www.alaskalive.net

I noticed some thing.
I first installed in a sub folder under the root.
Like
http://www.yourdomain.com/somefolder/

When I moved it to the root like:

http://www.yourdomain.com/

Now the home tab is highlighted.

Imagine that!
 
vince24

Posted: 6/26/2009
Quote message 

Quote PDGWeb:

Nevermind - I found the issue that was occurring on the one Joomla site, for those interested. I had installed a template to a site that already had some configuration done to the menu.

To get the top menu to stay highlighted I had to resetup the menu items - that rewrote the code and it worked fine. FYI.


:*)
Hi

Could you precise what you did when you say "I had to resetup the menu items"?

Regards,
Vince
 
Zaphode

Posted: 8/9/2009
Quote message 

Hi Daniel
you must disable the cache in Joomla and it's works fine
 
Jennifer

Posted: 8/18/2009
Quote message 

I'm having the same problem. I disabled the cache, but it slows my load time down. This may be a stupid question, but is there a way to make the active menu item stay highlighted when joomla cache is on?
 
Ray

Posted: 9/18/2009
Quote message 

I too have this issue.
Disabling the cache solves the issue..
But that is a short term solution only.
Anybody know how to fix this without disabling the cache for the entire site?
 
Henri

Posted: 8/22/2011
Quote message 

You can control the cache at the module level! Switch it off there and all is ok! Only the current ID is not cached anymore.

Man, took me hours to figure this out!!! Many thanks! O:)