Hi guys,
Great module and fantastic functionality. I especially like the very thorough in-line help with the text format filter settings.
Problem is, I'm in the minority: most of my content maintainers want to hide that enormous chunk of help underneath a [Help] link.
So, this may not be a Flickr module issue...it's just that you guys provide 10x more info than the other filters, so I thought maybe there were some clues here for how to handle it.
Suggestions?
We're using Panopoly with a Radix theme. Content maintenance happens in the Seven theme. We have the Help module enabled.
Any clues or pointers as to how to keep, but hide, the Flickr help notes?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | collapsed_flickr_filter_tips-2365381-4.patch | 1.63 KB | lolandese |
| #2 | collapsed_flickr_filter_tips-2365381-2.patch | 779 bytes | lolandese |
| text-format.png | 180.31 KB | boabjohn |
Comments
Comment #1
lolandese commentedHi John,
Yes. I agree that the Help text provided is longer than the usual and might be annoying for some users. The suggestion to make it collapsible (collapsed by default) is indeed a good idea.
Ideal would be to use the functionality that is natively present in Drupal core. If you go to the module list (admin/modules) for example, you'll see that clicking a section title will put it in collapsed state. Using the browser inspector you'll find some classes that probably are targeted with some jQuery. A Google search results in several related articles on the subject to explore.
Feel free to go ahead and/or exchange ideas on it here. I can give it a shot in the weekend. In any case, patches are reviewed instantly and always committed with attribution.
Thanks for this useful feature request.
Comment #2
lolandese commentedEnable the ctools module and try the patch.
Credits:
http://timonweb.com/painless-collapsible-divs-drupal
Comment #3
boabjohn commentedHey there @lolandese...applied patch and appears to work as expected. Fantastic and very much appreciated!
Marking RTBC for now.
Cheers!
Comment #4
lolandese commentedAttached patch:
Ctools is not added as a dependency. Obviously because the module works also without it, just that the Flickr Filter tips wouldn't be collapsed in that case.
Comment #6
lolandese commentedTested in the two major browsers. Copy/pasting the working examples from the filter tips to the body field still works.
Nice addition to the module. Thanks again for the suggestion.