Hello!
First off, I'd like to say that I love this module. It has made my life so much easier.
I would like to ask for a feature that allows me to force a node creation.
I have a node-type that allows for and makes use of nodes with the same title. It would be nice if I could enter in the node's title and type this [new] so that noderefcreate does not use the other node(s) with the same title.
Currently, I create the node with the same title, grab its id, and edit the previous node that I noderefcreated with by changing the id in the corresponding field. It's basically a recreation of the problem that this module solves.
Thanks!
Comments
Comment #1
ram327 commentedHey. I just decided to work on a patch myself and it seems to work properly.
This is the first patch I've ever done so lemme know how the process works if I ain't doing it right.
I basically just preg_match for [new] and then strip it out where necessary.
Comment #2
ram327 commentedComment #3
jackbravo commentedHi Ram
I like this feature. @lastent suggested another way to solve it on #1128716: Option to create a new or to link to and existend whith the same title in which instead you show two options, one with the node that already exists, and another one in which you explicitly say you can create a new one with the same title.
I think your patch is a step in this direction, we could also inject the option with the [new] text in the list we send back. Either this, or documented in the help text or someplace else so this feature is not hidden to the user. As it is right now the user has no way to know how to use this.