Hello,
I stumbled upon one small problem with section links. I use, in the side column, a navigation system that displays the first 2 levels of the store's section hierarchy; nothing fancy, I'm just using the javascript provided in the UM. Note that, since it is hardcoded, it displays on every page. On regular brochure pages, it does its job but on some pages such as the search result page or the view cart page the links fail since they direct me to pages not relative to the acatalog directory but relative to the cgi-bin directory, hence a page-not-found error. A solution would be to recode the javascript in order to scrap the ACTINIC_REFERRER part of the link. Instead, however, I would like to find a way to hide this navigation from those pages. Just like the simple search sidebox which appears on brochure pages but not on cart, checkout, and search result pages. So, is there a way to achieve the same behavior? Surely, there must be a way to identify the current page and then conditionally display or hide the navigation sidebox.
Lazyeye
I stumbled upon one small problem with section links. I use, in the side column, a navigation system that displays the first 2 levels of the store's section hierarchy; nothing fancy, I'm just using the javascript provided in the UM. Note that, since it is hardcoded, it displays on every page. On regular brochure pages, it does its job but on some pages such as the search result page or the view cart page the links fail since they direct me to pages not relative to the acatalog directory but relative to the cgi-bin directory, hence a page-not-found error. A solution would be to recode the javascript in order to scrap the ACTINIC_REFERRER part of the link. Instead, however, I would like to find a way to hide this navigation from those pages. Just like the simple search sidebox which appears on brochure pages but not on cart, checkout, and search result pages. So, is there a way to achieve the same behavior? Surely, there must be a way to identify the current page and then conditionally display or hide the navigation sidebox.
Lazyeye
Comment