Hi,
I posted this in "Post installation" forum but I realized (having no answers) that the good forum is probably "module development". Sorry about that. My question was the following:
I wrote a little module (my first module in Drupal, yeah!) that I named quiz.module. A user can add a quiz content (i.e. question and answer), it then appears in a block on the frontpage and other users try to find the answer. They click on the link and are directed to the view page. In the quiz.module, a view hook adds to $node->content an answer_entry_form. An answer_entry_form_submit handles the comparison between the user's answer and the secret answer (and set a variable to uid if we have a winner). Works well, I'm very happy!
Now, I want to do the same with a picture quiz (something like "guess who's on the photo?"). I have created a CCK content type with imagefield. I have created a page view with views but how could I add now the same kind of functionality found in quiz.module? Could it be done in Views? If no, do I have to write my own module? Does it imply that I would have to create my CCK content type by program?
Thank you for your help,
Salma
Comments
=-=
in future edit your older node and move it.
Sorry
...I didn't know I could do that.