Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I am in the process of making a social networking web site with Drupal7. Most of the tasks are done. However, i am stuck at this issue big time. I have created custom content type, Challenge. Using the flag module, i have placed a flag, Accept Challenge, on the nodes of this content type. Users click on this flag and accept the challenge. Now to complete the challenge users, have to post a blog about their challenge. So is there any way that when the user goes to node/add/blog and begins blogging, in the title field he or she has a drop down to pick from the nodes he has flagged. The name of the title should be same as that of node which was flagged. Please advice. I hope i am clear. If not, please tell me and i would try my best to be as clear as i can

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

As a workaround you could show a list of accepted challenges for each user and link them to node/add/blog with the title prefilled using the prepopulate module.

You could also create a node reference from blog to challenge, use a "select" widget and narrow the option with a view (that's a cool feature of the node reference module). In that view you limit the records to the current user and only the challenges they have flagged.

share|improve this answer
    
For Drupal 7, the node reference module itself suggests to use the new References module. I am looking into that. And, the prepopulate module is still in dev version. Will keep you posted. Thanks –  why Feb 27 '13 at 18:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.