I'm working with subscriptions on a website that has four different taxonomies that allow users to subscribe to terms within them. All of the vocabularies are huge and have many terms that a user could subscribe to within them (two of them are 100+ and growing). This makes it confusing when users go to manage their subscriptions per taxonomy on their /user/uid/subscriptions/taxa form (which is where I'm directing them to get their subscriptions set up) since it requires so much scrolling. I want the vocabularies to be collapsed by default so that a user could go straight to the taxonomy that has the terms they want without having to scroll through all of the terms for the other taxonomies. However, I can't figure out where to do that. Could someone point me to the form that needs to have the " '#collapsed' => TRUE " added to it to make this happen?
Comments
Comment #1
salvisPlease update to the release version.
Did you search through the Subscriptions code for '#collapsed'? There aren't that many of those... In fact, there's just one in the most likely file...
Comment #2
lk7889 commentedThanks, salvis, for the quick reply.
I just updated to the release version.
As for the collapsed statements, I've searched all of the files, including subscriptions_ui.module (which is where I thought it would most likely be), and swapped out all of the collapsed statements so that they are all true. Nothing has made a difference on that page's forms though. It made me think that the form that controls the taxonomy subscription table might not have a collapsed statement in it, either true or false, and I didn't know if someone could quickly point me in the right direction.
In the mean time, I'll do the search and replace on the updated module files (and then clear the cache too) and see if that helps. I'll let you know the results.
Comment #3
lk7889 commentedOk, I found it.
subscriptions_taxonomy.admin.inc on line 99.
Thanks so much for your help salvis. This is an excellent module and has been a huge help to me!
Comment #3.0
lk7889 commentedCorrecting grammar/spelling.