Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help w/ Categories Menu


caspire

Recommended Posts

Posted

Hello everyone,

 

I am adding a dynamic menu like this:

http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

Its kinda hiding on the left when you go to the above link (black/white).

 

So...I am adding one of those menu's in place of the normal "Categories" section on the left of the osCommerce layout. I can get the links in the menu to navigate to the areas that I want to, but this is not including the session id. The link on one of the menu items looks like the following:

 

www.mydomain.com/catalog/index.php?cPath=1_17

 

How do I make it so the session id is also included in the url? Do I need it?

With the session id the link looks something like this:

 

www.mydomain.com/catalog/index.php?cPath=1_17&osCsid=54aa8ad9325961fede3b5a96f0b59313

 

Thanks for your help. :thumbsup:

Posted
Hello everyone,

 

I am adding a dynamic menu like this:

http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

Its kinda hiding on the left when you go to the above link (black/white).

 

So...I am adding one of those menu's in place of the normal "Categories" section on the left of the osCommerce layout. I can get the links in the menu to navigate to the areas that I want to, but this is not including the session id. The link on one of the menu items looks like the following:

 

www.mydomain.com/catalog/index.php?cPath=1_17

 

How do I make it so the session id is also included in the url? Do I need it?

With the session id the link looks something like this:

 

www.mydomain.com/catalog/index.php?cPath=1_17&osCsid=54aa8ad9325961fede3b5a96f0b59313

 

Thanks for your help.  :thumbsup:

 

 

you cannot use js with sessions unless you let php write the js.

 

look in contributions because that js menu is already in there with php integration

Treasurer MFC

Posted

In the file includes\functions\htmal_output

 

there's this function:

 

function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true)

 

I'm not positive about this, but don't you just set the 4th argument to true?

new as they come, and greener than...

Posted

actually I would suggest you dont use any JS or DHTML menus as search engines will not be able to find your products. If you must use this, make sure you have a sitemap contrib. The sitemap contrib allows your products etc to be crawled..

Posted

I've taken a look at that menu on that website you quoted and think it looks terrible. It doesn't even close on mouse out. I'm currently using a contribution which puts the categories into a drop down in the header. This is great, except that it only works in IE. The placement of the menu does not work in Mozilla, so I am having to put a browser detection script into the head section of each page and provide a seperate 'header' file for Mozilla browsers, referencing a seperate class in the stylesheet. Finally I have it working in the various browsers. The point of this is that positioning of drop-down JS based menus can be a nightmare, and will work differently for different browsers, so you're going to have to find a workaround for those problems.

 

Vger

Hello everyone,

 

I am adding a dynamic menu like this:

http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

Its kinda hiding on the left when you go to the above link (black/white).

 

So...I am adding one of those menu's in place of the normal "Categories" section on the left of the osCommerce layout. I can get the links in the menu to navigate to the areas that I want to, but this is not including the session id. The link on one of the menu items looks like the following:

 

www.mydomain.com/catalog/index.php?cPath=1_17

 

How do I make it so the session id is also included in the url? Do I need it?

With the session id the link looks something like this:

 

www.mydomain.com/catalog/index.php?cPath=1_17&osCsid=54aa8ad9325961fede3b5a96f0b59313

 

Thanks for your help.  :thumbsup:

  • 1 month later...
Posted
actually I would suggest you dont use any JS or DHTML menus as search engines will not be able to find your products.  If you must use this, make sure you have a sitemap contrib.  The sitemap contrib allows your products etc to be crawled..

 

Where can I learn how to make a sitemap contrib? Because I am using the HV Menu?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...