We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36551
    • 416 Posts
    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?