Posted by Igal on October 16, 2009 at 9:24am
Jump to:
| Project: | Prepopulate |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
It will be usefull if one can prepopulate the field in the node and automatically save the node? This way a user can with one single click edit and save the node.
Comments
#1
I agree, another use might be to show a block related to a field in the node. I am thinking this could probably be done by using node_save() in a computed field as a workaround.
#2
Anyone found out how to do this?
#3
You could create a module that would create a node any time a particular URL was visited. Offhand this seems like a spammer's paradise. What is the use-case or workflow envisioned here?
#4
I do this progmatically. Without using prepopulate. I love prepopulate, great module, but many times I have fields that are dependent on the value of another field in the same node.
To get around this, I create a link that has a callback function via hook_menu.
That callback function, creates a node using node_save or drupal_execute, THEN SAVES IT.
I then redirect the user to the node edit page. Now, I can use php to provide optionson a field based on another field in the same node.
#5
This sounds like a great solution in some cases but something that is unlikely to be able to be done in a universal and secure way. Closing as won't fix but we can certainly revisit it if somebody has a patch.
#6
I am trying something like this, but will the computed field be invoked by prepopulate or when user clicks SAVE button. How can I get prepopulate to invoke the computed field so the node_save happens by just hitting the URL.
I want a Drupal node to be created in a Drupal site from outside Drupal. I have granted anonymous permission to create such a node.
#7
I really would like this feature too I'm looking for a way to create nodes 'on the fly' using a link that prepopulates the fields without having to go by the 'save-button'.
Any chance this will be added?
#8
http://drupal.org/project/node_update_from_url