Here's the problem:

* Create a freelink to a non-existant node e.g. [[test]]
* Now click on the link to test
* The freelinking module correctly takes me to the "create new node" page but the title field is empty.

In previous versions of freelinking.module, the title field would automatically get set to the freelink name.

I'm using a fresh Drupal 4.7-CVS install with the most up-to-date freelinking.module.

Thanks,
Jack

Comments

dan_aka_jack’s picture

Title: Title doesn't inserted when creating new node » Title doesn't get inserted when creating new node

(fixing typo in title!)

eafarris’s picture

Assigned: Unassigned » eafarris

The code that allows that has been removed from node.module. I'll eventually add the proper hooks in freelinking (thanks for reminding me!), but you can use prepopulate.module to allow the title to be inserted into which ever node type you're using.

http://www.drupal.org/project/prepopulate

dan_aka_jack’s picture

Great, thanks for the reply!

eafarris’s picture

Status: Active » Fixed

Added freelinking_form_alter(). The prepopulate.module is no longer required.

dan_aka_jack’s picture

nice work, thanks

Anonymous’s picture

Status: Fixed » Closed (fixed)