Option to remove show/hide
silurius - July 21, 2008 - 05:20
| Project: | Table of Contents |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | AlexisWilke |
| Status: | active |
Description
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).

#1
Good idea. A few ways I could see this implemented:
What was your use case? Would it fit the above?
--Andrew
#2
Option 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.
#3
Well, 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.
#4
#5
Here 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.
#6
works, thank you.
#7
Here 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.
#8
This is done in 3.x-dev. I did not use these patches.
Thank you.
Alexis Wilke
#9
Automatically closed -- issue fixed for 2 weeks with no activity.
#10
Needs to be documented.