Installed this (very nice) module, and found a couple more bugs which I have fixed. Sorry, I'm not too experienced with creating patch files, so a sort of manual one:
Line 65:
- $title = variable_get('csm_form_title_' . $language->language . '_' . $form['type']['#value'], 'the default');
+ $title = variable_get('csm_form_title_' . $language->language . '_' . $form['type']['#value'], 'Create [type-name]');
Line 153:
- '#default_value' => t(variable_get('csm_form_title' . $lang, 'Create [type-name]')),
+ '#default_value' => t(variable_get('csm_form_title_' . $lang . '_' . $form_type, 'Create [type-name]')),
Dan
Comments
Comment #1
YK85 commentedsubscribing
Comment #2
jday commentedThanks for posting, the updates fixed the create node titles function.
Comment #3
jim0203 commentedThanks, committed at http://drupal.org/cvs?commit=346702.
@dan3h - huge thanks for the patch - if you want to learn how to put together your own patch files, see http://drupal.org/patch/create. It seems a bit complicated when you start but it's well worth learning if you want to do a lot of this stuff.
Comment #4
jim0203 commented