This sub-module creates a prepopulated link to a create node. It is used primarily as a failover for the Nodetitle plugin for Freelinking. When this module is enabled, the failure option “Add a link to create content” is added to the failover pull down menu for Nodetitle.
The following items will be inherited from the the parent node and used to prepopulate the new node:
Note: Taxonomy term and OG context does not work and is currently disabled.
For example, the following freelink: [[nodetitle:Does not exist]]
, produces:
<a class="freelink freelink-createnode notfound freelink-internal" title="node/add/article" href="/node/add/article?edit%5Btitle%5D=Does%20not%20exist&parent=836">Does not exist</a>
Here, the parent=836
identifies the book the new node shall be part of.
Requires Prepopulate.
For API functions and examples of their use, see freelinking_prepopulate.api.php
.
The Freelinking Prepopulate Utilities
(freelinking_prepopulate.utilities.inc
) are intended to
help with the centralized definition of form fields that may be of
interest for Prepopulate-based plugins, and automating the process of
extracting information for such fields.
Any help with development (patches, reviews, comments) are welcome.