DrupalCon Baltimore: 161 sessions, many voices, infinite possibilities. Earlybird rate ends Friday.
I created a custom View module in order to select data from an external database. Everything works perfectly except the body field which is displayed as HTML tags. When viewing the source the tags have actually been turned into their HTML equivalents (e.g. <p class="rtejustify"> instead of
, <u><strong> instead of , etc.
I believe I have isolated the cause to the mymodule.views.inc file in the custom module - specifically this segment of code that deals with the body field:
$data['v_aggregated_node_data']['event_body'] = array(
'title' => t('Event Body'),
'help' => t('Event Body'),
'field' => array(
'handler' => 'views_handler_field',
' click sortable' => TRUE,
'sort' => array(
'handler' => 'views_handler_sort',
'filter' => array(
'handler' => 'views_handler_filter_string',
'argument' => array(
'handler' => 'views_handler_argument_string',
I have attached the entire file in the hopes that someone can provide a solution to this problem.
This is one of my first experiences writing these type of modules and I am sorely lacking in knowledge about the handlers, filters, etc.
Could someone please help me understand what needs to be changed in order for the view to render the body text as proper HTML?