I realize it may be feasible to remove the show/hide link through a hack of some kind, but it would be great to see that included as a feature (unless I've overlooked the fact that it already is).
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 285150_show-hide_toggle_5.x_7.patch | 4.85 KB | deviantintegral |
| #7 | 285150_show-hide_toggle_6.x_7.patch | 4.87 KB | deviantintegral |
| #5 | 285150_show-hide_toggle_6.x_5.patch | 4.66 KB | deviantintegral |
Comments
Comment #1
deviantintegral commentedGood idea. A few ways I could see this implemented:
What was your use case? Would it fit the above?
--Andrew
Comment #2
silurius commentedOption 1 would work best for me in the use cases I'm thinking of. But you raised a very good question and I imagine it deserves additional input from others.
Comment #3
deviantintegral commentedWell, good news! I've got patches which address option 3, and most of the way to option 2:
Once #296171 lands, I'll add a new option to allow changing of the hide / show toggle, in both the filter settings and per-page.
Comment #4
deviantintegral commentedComment #5
deviantintegral commentedHere is a patch which implements it as a new setting. Please test it and if it looks good I'll port to the 5.x version and commit. Also, now that the module is properly themable, you could easily deal with it by overriding the theme function.
Comment #6
Flying Drupalist commentedworks, thank you.
Comment #7
deviantintegral commentedHere is an updated patch and one for D5. I fixed a minor bug in the error checking where the toggle switch would allow strings as they can evaluate to TRUE or FALSE.
Comment #8
AlexisWilke commentedThis is done in 3.x-dev. I did not use these patches.
Thank you.
Alexis Wilke
Comment #10
aren cambre commentedNeeds to be documented.
Comment #11
AlexisWilke commentedClosing since this has been working for ages in 3.x.
Thank you.
Alexis