function display($tpl = null) { $app = JFactory::getApplication(); $this->state = $this->get('State'); $this->pagination = $this->get('Pagination'); $this->searchterms = $this->state->get('filter.search'); //retrieve task list from model $model = new EstivoleModelDaytimes(); $this->member_daytimes = $model->listItems(); EstivoleHelpersEstivole::addSubmenu('daytimes'); $this->sidebar = JHtmlSidebar::render(); $this->addToolbar(); //display return parent::display($tpl); }