This is a great module, but it currently doesn't provide any ability to alter the module's functionality for more specific use cases. My current situation requires that the simplify module respect og permissions. I'd like to see this module implement an alter hook in simplify_hide_field() function to allow other modules to alter the hidden field status for these more specific situations. This is a rather simple change and I'll provide a patch here shortly.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2240807simplify-alter-hook-1.patch | 366 bytes | bburg |
Comments
Comment #1
bburgComment #2
bburgAlso, I just ended up doing a straight hook_form_alter because it turned out that I was mixing up the "administer content" permission with what the simplify module was actually doing.
Comment #4
Anonymous (not verified) commentedGood idea to add alter hooks. Added two plus an API file for explanation on how to use them: http://drupalcode.org/project/simplify.git/commit/7681b0e