Closed (fixed)
Project:
Display Suite
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2013 at 12:11 UTC
Updated:
21 May 2013 at 20:20 UTC
I tried using ds_views_row_adv_VIEWS_NAME on a recent project. After looking at the code, it doesn't look like there is any mention of the functionality outside a help comment in Views and an example in the api.php. Is this something that was lost in regression? Regardless, it doesn't work for me. Any suggestions?
Comments
Comment #1
swentel commentedsee http://drupalcode.org/project/ds.git/blob/373774aeb384e76d56e1623dc2b2d4...
Comment #2
heddnThanks! I found it now but the example @ http://drupal.org/node/697320#ds_views_row_adv_VIEWSNAME looks like you can pass in $vars, when in fact it seems to pass in the stdClass entity & the view mode. I was kinda hoping this would pass in the entire row so I could get a little more context. I was planning to use this for odd/even row styling and swap out the view mode. I found another way to do that, namely changing/grouping. The example was/is confusing.