Generating Navigation |
Post Reply |
Author | |
manabead
Newbie Joined: 29-November-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
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! |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
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.
|
|
manabead
Newbie Joined: 29-November-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
While I understand your helpful tip, it is unfortunately out of my league! I will play with some other options. Thanks for responding...
|
|
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
edwardmills
Groupie Joined: 16-August-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
fidjiti
Senior Member Joined: 30-November-2006 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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. :) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |