function display($tpl = null) { $app = JFactory::getApplication(); $params = $app->getParams(); $this->assignRef('params', $params); $this->my_events = JoomdleHelperContent::getMyEvents(); $this->jump_url = JoomdleHelperContent::getJumpURL(); $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx')); $this->_prepareDocument(); parent::display($tpl); }