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

YK85’s picture

subscribing

jday’s picture

Thanks for posting, the updates fixed the create node titles function.

jim0203’s picture

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

jim0203’s picture

Assigned: Unassigned » jim0203
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

  • Commit 736f69c on master, 7.x, 7.x-1.x, 6.x-1.x, 2219683 by jim0203:
    bug #734084 by dan3h, ya7085, jday: Correct code typos.