Timeline for menu_get_object() not returning node object when view's display is Entity Reference
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 1, 2014 at 20:36 | comment | added | kiranking | I think the problem is with entityform when it is attached node.Some issues @ D.O drupal.org/node/2043287#comment-7750131 , drupal.org/node/2244987 , drupal.org/node/2078573 | |
Sep 1, 2013 at 9:30 | comment | added | kiranking |
When autocomplete field is moved from entityform to its parent node then arg(6) is returning node as you told. ReviewNode title,tags,{entityform [aucomplete entity reference view]} - doesn't work ReviewNode title,tags,[aucomplete entity reference view],{entityform} worked. From this what I am getting is, it is not further backtracing beyond entityform to get its parent element :(.
|
|
Sep 1, 2013 at 9:18 | comment | added | kiranking |
I checked with arg(6) but failed to get node. I also checked from arg(1)_ to arg(10) and dpm that. The last entity that is fetched was "st" beyond that every args returns empty.I didn't get what exactly st here.arg 1 autocomplete | arg 2 single | arg 3 field_select_books | arg 4 entityform | arg 5 add_book | arg 6 NULL | arg 7 st
|
|
Aug 31, 2013 at 20:03 | history | answered | Clive♦ | CC BY-SA 3.0 |