When a user creates a node and clicks save, i would like the same title to automatically be used as a forum topic.
When I post a node (in this case a custom node with CCK) I would like a "Discuss in forum" link, which links to that title in the forum. If they click on the normal menu Forum link, they get forum topics of all the titles I created as my custom nodes.
I had a look at this: http://drupal.org/node/50716
but it doesn't answer the question (from 2006). Searching didn't come up with anything and then I hit the "oh no 20 searches in 1 hour) problem.
ps. Why isn't there a support forum?
I don't know the answer to your main question, but the answer to your "ps" is http://drupal.org/forum/18
Michelle
On Tue, May 27, 2008 at 7:14 PM, Ryan Snowden sicapitan@gmail.com wrote:
When a user creates a node and clicks save, i would like the same title to automatically be used as a forum topic.
When I post a node (in this case a custom node with CCK) I would like a "Discuss in forum" link, which links to that title in the forum. If they click on the normal menu Forum link, they get forum topics of all the titles I created as my custom nodes.
I had a look at this: http://drupal.org/node/50716
but it doesn't answer the question (from 2006). Searching didn't come up with anything and then I hit the "oh no 20 searches in 1 hour) problem.
ps. Why isn't there a support forum?
-- [ Drupal support list | http://lists.drupal.org/ ]
Try these modules:
Triggers - http://drupal.org/project/nodetriggers and Actions - http://drupal.org/project/actions
If you're using Drupal 6, they have been brought into core.
Ryan Snowden wrote:
When a user creates a node and clicks save, i would like the same title to automatically be used as a forum topic.
When I post a node (in this case a custom node with CCK) I would like a "Discuss in forum" link, which links to that title in the forum. If they click on the normal menu Forum link, they get forum topics of all the titles I created as my custom nodes.
I had a look at this: http://drupal.org/node/50716
but it doesn't answer the question (from 2006). Searching didn't come up with anything and then I hit the "oh no 20 searches in 1 hour) problem.
ps. Why isn't there a support forum?
Ryan Snowden ha scritto:
When a user creates a node and clicks save, i would like the same title to automatically be used as a forum topic.
[SNIP]
You can create a little module with a function nodeapi:
function mymodule_nodeapi($op,$node,$a3,$a4) { switch ($op) { case 'insert': $f = $node; unset($f->nid); unset($f->vid); unset($f->changed); unset($f->created); $f->type = 'forum';
//Here you need to setup the taxonomy/category of the forum's post //[your code]
//Now save the new node $fnew = node_save($f); } }
This is only a start point for your request. I hope that this can help you.