caspire Posted January 21, 2005 Posted January 21, 2005 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:
Guest Posted January 21, 2005 Posted January 21, 2005 This has already been done and contributed - the best IMO is Drop Down Categories - HV Menu Matti
boxtel Posted January 21, 2005 Posted January 21, 2005 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: <{POST_SNAPBACK}> 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
mcki0127 Posted January 21, 2005 Posted January 21, 2005 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...
caspire Posted January 21, 2005 Author Posted January 21, 2005 Thanks everyone...you guys are fast! :thumbsup:
Sincraft Posted January 21, 2005 Posted January 21, 2005 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..
♥Vger Posted January 21, 2005 Posted January 21, 2005 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: <{POST_SNAPBACK}>
caspire Posted March 1, 2005 Author Posted March 1, 2005 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.. <{POST_SNAPBACK}> Where can I learn how to make a sitemap contrib? Because I am using the HV Menu? Thanks
caspire Posted March 1, 2005 Author Posted March 1, 2005 Doh...Im an idiot. Haha. You meant a contribution for a sitemap of my site. Found it...Thanks LOL :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.