By DayShallCome on
What I am trying to do is have it so that when a user clicks on a certain link, a node (of a specific content type) is created.
More specifically, I'm trying to leverage the Amazon Tools Module so that, on the search page that the module provides, when a user clicks on the title of the book, an amazon_node is created with all of the information for the book automatically inserted (as it is now, clicking on this link will take a user to the appropriate page on amazon.com).
The general question is this - how do I make it so that clicking on a link will allow me to create a new node? Any help would be greatly appreciated. Thanks!
Comments
http://www.mysite.com/node/ad
http://www.mysite.com/node/add/page
that should do it. Replace "page" with node type.
Little bit more complicated...
What you're hoping to accomplish will require some PHP development - and there's no stock way of doing it via snippets or another contributed module.
As I understand it from your post, the basic flow you're looking for is:
This would make a fine first module for a PHP developer.
Outcome3 Drupal Services
Vancouver Technology Guy
Lyal
Yes, this is exactly the functionality I'm looking for. I appreciate the comment, at least I now know that I'll need to code it myself. :)
If anyone has any ideas/examples that would make this easier for me, I'd appreciate it. Thanks!
Anyone have any tips for me?
Anyone have any tips for me?
Only thing I can suggest is
Only thing I can suggest is that you dive right in to development, or if you don't want to do that, hire a developer.
Outcome3 Drupal Services
Vancouver Technology Guy