[themes] Fwd: Display Suite Preprocess fields

Jeff Greenberg listmail.ayendesigns at gmail.com
Sun Mar 31 00:12:24 UTC 2013


Got it. In the preprocess I needed just to put the data in
$vars['field_breadcrumb'].

----

I have the following line in THEME_preprocess_node

    $vars['node']->field_breadcrumb['und'][0]['value'] =
theme('breadcrumb', array('breadcrumb'=>$breadcrumb));

In Display Suite, I added a preprocess field. The machine name of the field
is field_breadcrumb,

The field appears in the Manage Display settings, but its contents don't
appear when the display is rendered.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20130330/1592e065/attachment.html 


More information about the themes mailing list