* Implementation of hook_views_handlers() to register all of the basic handlers
* views uses.
*/
function lightbox2_views_handlers(){
returnarray(
'info' =>array(
'path' =>drupal_get_path('module', 'lightbox2'),
),
'handlers' =>array(
'lightbox2_handler_field_lightbox2' =>array(
'parent' =>'views_handler_field',
),
),
);
}
?>
This is the error I'm getting in the Live Preview:
user warning: Unknown column 'lightbox2' in 'field list' query: SELECT node.nid AS nid, node.title AS node_title, node_data_field_textbody.field_textbody_value AS node_data_field_textbody_field_textbody_value, node_data_field_textbody.field_textbody_format AS node_data_field_textbody_field_textbody_format, node.type AS node_type, node.vid AS node_vid, lightbox2 FROM node node LEFT JOIN content_type_lighboxtest node_data_field_textbody ON node.vid = node_data_field_textbody.vid WHERE (node.status <> 0) AND (node.type in ('lighboxtest')) LIMIT 0, 10 in /shared/vash/sandboxes/brand/play/site/www/profiles/palantirprofile/modules/views/includes/view.inc on line 731.