I need some clarification on how best to pass an argument to a view that is displayed using a dynamic field.
First I created a content type called essay which has two entity references to other node types publisher and publication. What I did was create a view with a contextual filter referencing the node id. The view works as intended as a block, when added via the standard Drupal blocks page. It manages to reference the node id and display the correct referenced entities when tested in the views UI and also as a normal block rather then dynamic filed.
Since I am using Display Suite for my node layouts, I want to use the view in my essay content type via display suite. I researched the problem and found this old thread (https://drupal.org/node/1341858). I enabled views content panes and inserted the view into a dynamic field. I then placed the dynamic field into my node layout however I discovered there are no arguments being passed to the dynamic field at all. I added a few %1 %2 %3 arguments to the overridden title to see if it anything was print out and nothing displayed in the title.
I feel like there is a step I am missing in all of this. Any assistance would be appreciated.
Comments
Comment #1
itamair CreditAttribution: itamair commentedSubscribe. I am experiencing the really same issue …
Comment #2
Lemontonix CreditAttribution: Lemontonix commentedSame issue here.
The only argument that can be passed to dynamic field is Node-ID.
Any others are NOT working. Tested with:
* Entity References module
* References module
* Text field containing ID
* Numeric field containing ID
Note: found this entry in my logs, which might be related to this issue:
Comment #3
Drupa1ish CreditAttribution: Drupa1ish commentedSame issue with eck entities
Comment #4
Drupa1ish CreditAttribution: Drupa1ish commentedUpdate:
It doesn't work with Argument Input: Input on page config %1 %2 %3 arguments like
It works with Argument Input: From Context , choose the right required context( eg. entity id). On field configuration it is read only entity being viewed
Comment #5
aspilicious CreditAttribution: aspilicious commenteddrupal.org/project/eva has probably better support for views. You can also make a "function field" in code if you're comfortable with writing code.
Comment #6
aspilicious CreditAttribution: aspilicious commentedNo response so I suspect everything to be fine. Also check drupal.stackechange.com for additional help.
Lots of ACTIVE :) people helping each other.