If, like me, you keep your variables stored in settings.php files, you can configure CSM to only change the form commit messages but not change the title, e.g. for situations where another module is controlling it already. Right now, if the csm_form_title_LANG_TYPE variable doesn't exist it uses rather useless page title "the default". It would be much better if the page title was not changed if that variable was blank.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | csm-n740614.patch | 881 bytes | damienmckenna |
Comments
Comment #1
damienmckennaHere's a patch :)
Comment #2
jim0203 commentedHey Damien,
This was kind of fixed by http://drupal.org/node/734084, but I've worked your patch in as well to cover the "variables in settings.php files" case. Big thanks.
Committed at http://drupal.org/cvs?commit=346708.
Comment #4
masondib commentedThanks for this module -- just what I was looking for!
Sorry to reopen this issue, but I also have the Node create title overridden from a different module already, and was hoping to use the functionality of this patch but it didn't work out of the box since the Node create form title field is required. In order for this to work, either the value of #required should be changed to FALSE on line 158 of csm.module or, better yet, the module could allow for more flexibility by mimicking the Block title options: "Override the default title for the block. Use
<none>to display no title, or leave blank to use the default block title." I haven't looked into the block code enough to do a proper patch, but I can if you think this would be helpful.Thanks again for a useful module.
Comment #5
jim0203 commented@masondib - if you're still interested in providing a patch, I'd certainly be interested in seeing it :)
Comment #6
jim0203 commentedI've reworked the UI so that it is closer to that provided by block.module, as per masondib's suggestion/request. Will be part of the next dev release and will roll into the next alpha/beta release, too.
Comment #7
jim0203 commented