ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - ManageCategories.asp | Expand All as Default
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ManageCategories.asp | Expand All as Default

 Post Reply Post Reply
Author
Message
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Topic: ManageCategories.asp | Expand All as Default
    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.
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post 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).
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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). 
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 07-February-2013 at 1:44pm
Worked like a charm.  Thank you!
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
cpgmar View Drop Down
Newbie
Newbie
Avatar

Joined: 04-December-2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpgmar Quote  Post ReplyReply Direct Link To This Post Posted: 14-February-2013 at 8:39am
Cindy

The Tasteful Garden

www.tastefulgarden.com
Back to Top
cpgmar View Drop Down
Newbie
Newbie
Avatar

Joined: 04-December-2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpgmar Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.