Perhaps I am misunderstanding something but I have content type called project. Then, I have: proofs content type, tasks content type that reference the project. I also have a feedback content type. I created 2 views one for the tasks and one for the proofs. I also created tabs -- that link to the view for the proofs and the tasks -- that appear on the project node. Now, I want an add feedback link to appear on the proof listing view and then the feedback to appear below the proof listing view.
I go into the node reference url field for the feedback link and go to advanced and the choose the "proof_listing" view as the view that can be referenced and there is no 'add feedback' link on the proof listing view. I leave the argument field blank when setting up the node reference url.
I am probably not understanding something but I can't find any documentation about how the advanced portion of this module works.
Comments
Comment #1
quicksketchThe use of a View to restrict the list of nodes simply reduces the nodes that may be referenced. Maybe you'd want to make a list of referenceable nodes that only includes content created in the last 30 days, content promoted to the front page, or some other arbitrary properties. In your case it sounds like you wouldn't use this functionality since "feedback" nodes should be able to reference any "proof" node. This functionality doesn't have anything to do with adding links to the display of a view.
If you want to add a link to "Add feedback" to a piece of content, add the Node: NID field and then rewrite it so that it is a link "Add Feedback" with the path "node/add/feedback/[node_nid]". Assuming you've set up the feedback content type with a Node Reference URL Widget, it will pull the nid from the URL and prepopulate the field.
Comment #2
ridolfidesigns commentedI was hoping it would work just like node reference url does on a piece of content. The only difference is -- instead of the link that node ref. url generates appears on a node --I want the link to appear on a view. Is that what you explained above, am I misunderstanding something?
Thank you in advance for your help.
Comment #3
quicksketchNode Reference URL Widget doesn't add any interaction with Views beyond what Node Reference module provides. If you'd like to make a link in your views, you can do this as I described in #1.
Comment #4
ridolfidesigns commentedWhat is the advanced option for choosing a view? What does that do exactly?
Comment #5
quicksketchI explained it in the first paragraph of comment #1. It's an alternative to restricting referenceable nodes by type.
Comment #6
mastoll commentedI added the link to create a new node as you detailed in #1. Thank you. This is exactly what I needed.
Comment #7
quicksketch