Hi! I'm trying to build a plugin that creates a custom, simplified view of survey results on the admin side. I've managed to follow the tutorials and get the menu items created, and am trying to create a new TbListView widget to render the list of results, using code like this (inside my view template file)
Code:
$this->widget('bootstrap.widgets.TbListView', array(
'dataProvider' => $model->search(),
'itemView' => 'support_request',
'sortableAttributes' => array(
'datestamp',
'FactoryName',
'City',
),
));
The problem I'm running into is when this code runs, the AdminController->getViewFile method gets called, and it's looking in /var/www/html/application/views for my view template file, which should be in plugins/modulename/views instead. Any idea how to resolve this? Do I need to create a custom controller for the plugin?