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 have a content type book and another content type pages. A page has a entity reference field to book. Now, I want to allow users to create pages on the same page as book. So, I created a page add form using formblock module.

I would like to have the entity reference field auto generated and pointing to the book.

Is it possible? Thanks. :)

share|improve this question
    
I am using form block and entity reference prepopulate. But , have not been successful so far. –  Nick Dave Sep 10 '12 at 17:27
add comment

1 Answer 1

Node Reference URL Widget can help you :)

share|improve this answer
    
Didn't work with nodeform block. Looks like, I will have to make form block myself. –  Nick Dave Sep 11 '12 at 9:14
    
If you're using Entity Reference (instead of Node Reference) you should use, entity reference prepopulate, drupal.org/project/entityreference_prepopulate –  tsega May 13 at 12:50
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.