Generating Navigation
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=541
Printed Date: 23-November-2024 at 9:49pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Generating Navigation
Posted By: manabead
Subject: Generating Navigation
Date Posted: 29-November-2006 at 3:14pm
Does anyone know a quick fix to customize my generated navigation? I would like to show top level AND subcategories as the default view. That is, I have four parent level categories, but many subcategories. I don't want to show simply four lines in my navigation table with the option to expand, I want the visitor to see all the subcategories as well with the option to expand beyond that. I use to use the snippet offered at the Product Cart site and may have to go back to that, but I like the expand/collapse feature. Thanks!
|
Replies:
Posted By: netprofits
Date Posted: 29-November-2006 at 3:23pm
If you're familiar with ASP, look at the pcadmin/gencatnavigation.asp file and you can see how PC is generating the navigation by loading and reading through the categories. It shouldn't take too much work to make your main cats and subcats display and have the subcats have the expand option vs. the main cats.
------------- NetProfits Internet Consulting
Certified ProductCart Developer
http://www.nicwebdesign.com" rel="nofollow - Our Site
|
Posted By: manabead
Date Posted: 29-November-2006 at 5:23pm
While I understand your helpful tip, it is unfortunately out of my league! I will play with some other options. Thanks for responding...
|
Posted By: edwardmills
Date Posted: 05-December-2006 at 8:20pm
Manabed
I'm wanting to do the same thing and would rather not play around with the ASP file.
However, PC generates a static HTML page after you run the generate navigation script. If I could find that html page, it would probably would be pretty simple to set up the navigation as desired.
So, does anyone know where that file goes?
Thanks ed
|
Posted By: edwardmills
Date Posted: 05-December-2006 at 8:39pm
Hi Again
I found the file. It's Inc_RetailCatMenu.inc in the pc folder.
I've just taken a quick look at it and it's not quite as simple as I had hoped. Don't have more time to explore right now. But if I figure anything out, I'll let you know.
ed
|
Posted By: fidjiti
Date Posted: 19-December-2006 at 3:40pm
This is weird....I was able to edit the left side bar where the categories are found by editing the file /pc/header.asp. I actually would prefer the category "plus/minus" structure as I do have several categories and sub-categories but i don't know how to get it back. :( Possible Fix: (using v 3) Just look for the <!--Start Category Links--> in the /pc/header.asp and then you can just create your own links without the coded links. I don't remember if I removed any asp code, but from what I can tell it was just html.
See my example at www.fidjiti.com. Those are all of the custom links i added by using the actual category link instead of the generated/coded ones. Still in the works and I still need to remove the http://www.fidjiti.com/pc/ so the SSL cert doesn't have a problem but just working with look and feel right now.
I would actually like to get back the old structure but don't know how to do that.
------------- Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)
|
|