I need to pass the title of the current node to the title field of an add node form that pops up in a modal using. I am using auto node title which allows the use of tokens as replacement patterns but [current-page:title] results in the title 'Create User Photos', the title of the add node form. Can anyone tell me how to pass the title of the review node either through auto node title or by changing the form's title to match the review node?
I am using the form block module to render the add node form as a block then using js to display it as a modal. I am trying to pass the title to make the nodes related if you will.
I am open to other ways to relate the nodes.
A little context: I've got restaurant review nodes with photo galleries. Users can add photos to a reviews gallery via a modal form that creates a new node containing the photos. I would like the title of the new photo node to match the review node's title but I haven't been able to do that.