Print Page | Close Window

Display category menu horizontally

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2083
Printed Date: 23-April-2025 at 10:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Display category menu horizontally
Posted By: intour
Subject: Display category menu horizontally
Date Posted: 27-October-2008 at 8:30am
Hi All,
 
I've been asked by a client to display Productcarts dynamic category menu horizontally.
 
Has anyone done this?
 
The problems I envisage with this is that as soon as the number of categoryn exceeds the page width then it would mess up the display unless I can disply on the next line down.
 
I have done this on other sites by manually creating a menu but the client has to contact me when thay want a change.
 
Thanks
 
Nigel
 



Replies:
Posted By: Greg Dinger
Date Posted: 27-October-2008 at 9:29am
Our approach with http://www.euphoriababy.com/store/pc/Zoey-the-Zebra-by-Meghann-O-Hara-62p1016.htm - http://www.euphoriababy.com/store/pc/Zoey-the-Zebra-by-Meghann-O-Hara-62p1016.htm http://www.euphoriababy.com - was to avoid the issues we would confront with generated navigation (and such as you present here). 
 
Instead, we defined a single included file that references a series of subcategory includes for the top nav.  Then for the left nav, we built a second included file that contains references to the same subcategory includes, as well as conditional logic to decide which subcategory menu to display down the left.  It requires manual editing but doesn't suddenly blow up when you add that last category that causes overflow.
 
You can look at how we tackled the top nav layout, using "UL" and "LI" to distribute the items across the top, as that code may help you.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: intour
Date Posted: 28-October-2008 at 4:54am
Hi Greg,
 
Many thanks for your quick response. The information is very useful.
 
I notice you are using page names on the store. Is that with the 404 error handler? Have you found any issues with that or does it work well for your client?
 
Many thanks
 
Nigel



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net