Skip to main content

custom

Drupal body value in views template

If you're creating a view and using a custom node type for that view and don't understand why your $body variable doesn't work to display the content of the node it's because the shortcodes aren't loaded in a view template so you must use $node->content['body']['#value']

If you need more help on the topic feel free to add a comment or create a new post on the Forum

Syndicate content