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.

CommentFileSizeAuthor
#1 2240807simplify-alter-hook-1.patch366 bytesbburg

Comments

bburg’s picture

Status: Active » Needs review
StatusFileSize
new366 bytes
bburg’s picture

Also, 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.

  • 7681b0e committed on 7.x-3.x
    Issue #2240807 by BWPanda: Added alter hooks to allow overriding or...
Anonymous’s picture

Status: Needs review » Fixed

Good 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

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.