Jump to content
Sign in to follow this  
Pilly

DHtml Menu/Cookies/Ultimate SEO Problem

Recommended Posts

Heres my problem,

 

On first visiting my test site here the menu is ok, after visiting a category on the menu defaults back to the original menu and the dhtml menu never returns.

 

Im sure its something to do with cookies or sessions.

 

configure.php

define('HTTP_COOKIE_DOMAIN', '.xyz.com');	 
define('HTTP_COOKIE_PATH', '/directory/');
define('STORE_SESSIONS', 'mysql');

 

the catalog is in a directory off the root.

 

Ive tried another 2 other menu contribs and its the same with them.

 

Anyone with any ideas on whats going on as ive done so many searches on this subject its driving me mad? :(

Share this post


Link to post
Share on other sites

See if you have caching turned ON. Your admin panel >> configuration >>cache

 

The stock osC caching only works when there's no session id present. On the first page view, there is one...and on subsequent ones there is not (that's normal) ...so that might explain why the stock menu reappears on the second click.

Share this post


Link to post
Share on other sites

Cool.... Ive turned it off.. seems to have done the job.

 

 

you my friend are a star! Ive spent hours searching the forums!!

Share this post


Link to post
Share on other sites

Cool, I'm glad it worked.

 

If you want to be able to turn it back on later, you can just exclude the category box from caching by editing the includes/column_left.php

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

just change all of that to just simply....

 

include(DIR_WS_BOXES . 'categories.php');

 

:)

Edited by choosealogin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×