/** * Prepare document */ protected function prepareDocument() { //Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($this->params->get('pageclass_sfx')); // Prepare page heading $this->preparePageHeading(); // Prepare page heading $this->preparePageTitle(); // Meta Description if ($this->params->get('menu-meta_description')) { $this->document->setDescription($this->params->get('menu-meta_description')); } // Meta keywords if ($this->params->get('menu-meta_keywords')) { $this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords')); } if ($this->params->get('robots')) { $this->document->setMetadata('robots', $this->params->get('robots')); } // Head styles $this->document->addStyleSheet('media/' . $this->option . '/css/site/style.css'); JHtml::_('behavior.tooltip'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_USERIDEAS_DASHBOARD')); $this->document->addStyleSheet("../media/" . $this->option . '/css/backend.style.css'); }