ManageCategories.asp | Expand All as Default
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=5486
Printed Date: 06-July-2025 at 12:03am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: ManageCategories.asp | Expand All as Default
Posted By: ammonihah
Subject: ManageCategories.asp | Expand All as Default
Date Posted: 06-February-2013 at 3:24pm
Can someone tell me what parameter needs to be changed and where, so that my managecategories.asp page will open expanded by default?
Thanks in advance.
|
Replies:
Posted By: Guests
Date Posted: 06-February-2013 at 9:53pm
I recall that this came up some time last year, I believe, on the forum here, but I don't recall what became of it. You might try searching for it (or maybe someone else remembers if there was a solution on this).
|
Posted By: Hamish
Date Posted: 07-February-2013 at 2:25am
Hi, as it would only save a single click would it be worth the effort? (expand all option is top right of the list of the categories).
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: Brett
Date Posted: 07-February-2013 at 3:49am
Hi ammonihah,
It's actually easy to make the categories expand by default.
Modify manageCategories.asp. Around line 281, after:
<!--End of AJAX Functions--> |
Add this:
<script type="text/javascript"> $(document).ready(function() { ExpandAll(); }); </script> |
I'm not sure if this is the ideal place to put this code, but I just tested it on my site and it worked fine.
|
Posted By: ammonihah
Date Posted: 07-February-2013 at 11:08am
Thanks. I will try this. And yes, it is worth it when you are working heavily in categories.
|
Posted By: ammonihah
Date Posted: 07-February-2013 at 1:44pm
Worked like a charm. Thank you!
|
Posted By: Brett
Date Posted: 07-February-2013 at 10:29pm
No problem. It seems like often when people come here asking for a solution, a common response is, "why would you need that solution anyways?"
I find it's better to let you decide what solution you do and don't need, and just figure out how to provide it, whether I agree that it's necessary or not.
|
Posted By: cpgmar
Date Posted: 14-February-2013 at 8:39am
------------- Cindy
The Tasteful Garden
www.tastefulgarden.com
|
Posted By: cpgmar
Date Posted: 14-February-2013 at 8:40am
I did this and it works fine. I agree it is very necessary, I always
wondered why it collapses every time. When you modify one product and want to go to another one, you
have to open it repeatedly...it is very annoying.
------------- Cindy
The Tasteful Garden
www.tastefulgarden.com
|
|