I'm trying to create a dropdown list for a TV in MultiTV. I copied this code from the multidemo.config.inc.php file and pasted into my events config file. When I open the resource in the manager I get a white page.
'dropdown' => array(
'caption' => 'Dropdown',
'type' => 'dropdown',
'elements' => '@SELECT pagetitle, id FROM [+PREFIX+]site_content WHERE parent = 0 ORDER BY menuindex ASC'
),
Can anyone tell me what I'm doing wrong?