| Comment | File | Size | Author |
|---|---|---|---|
| #7 | eck-make-entity-save-message-modifiable-2415703-7.patch | 2.74 KB | eric.napier |
| #1 | eck-make-entity-save-message-modifiable-2415703-1.patch | 928 bytes | emattias |
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | eck-make-entity-save-message-modifiable-2415703-7.patch | 2.74 KB | eric.napier |
| #1 | eck-make-entity-save-message-modifiable-2415703-1.patch | 928 bytes | emattias |
Comments
Comment #1
emattias commentedThis patch adds a drupal_alter('eck__entity__form_submit_message') so that you can modify or remove the message all together.
Comment #2
zterry95 commentedneed this patch.
Comment #3
eric.napier commentedComment #4
eric.napier commentedComment #5
eric.napier commentedI believe this will be best as custom code and not a drupal_alter() addition to ECK. See the following blog post for a possible path to change drupal_set_message() without patching ECK: http://knackforge.com/blog/gurumoorthi/hide-and-override-drupal-status-m....
Comment #6
hnln commentedre #5 that's the method I'm using now, but not very comfortable with it as you don't have any context on the messages, so you might also remove messages that were set somewhere else.
Comment #7
eric.napier commentedThe attached patch cleans up #1 a little and adds support also for changing the save message for bundles. Also updates api documentation re: 2 new hooks. Needs Review.
Comment #8
eric.napier commentedComment #9
eric.napier commentedComment #11
fmizzell commented