Hi,
I had created a "receipe" content with many "ingredients" field. I also have a "shoppinglist" content with a list of "ingredients" (same field of the receipe).
I need that when the user is viewing a receipe node (not editing) he could add one ingredient to his shopping list. I have already developed a module wich reads the content of the user' shopping list and displays it in a block.
I'm thinking of "templating" the ingredient fields (http://drupal.org/node/206980) with a (jquery) form which sends the form to /node//add.
I don't like putting the code in the template, but I can't find any other solution. Is there a better way? Any idea?
Regards,
Segolas
p.s.
Is this the right place for discussing about developing? I can't find any forum or ml related to cck module developement...