Hot answers tagged

2

You get the `HtmlDocument' object: $doc = JFactory::getDocument(); // echo "<br><pre>"; print_r($doc); echo "</pre>"; // to check what you have here You can get only the head Data: $headData = $doc->getHeadData(); $Title = $doc->getTitle(); You can set things: $doc->setHeadData(array $data); $doc->setTitle('my title'); And ...


Only top voted, non community-wiki answers of a minimum length are eligible