Initialize Joomla Page Document Variable
$doc =& JFactory::getDocument();
then use the code below
$doc->setTitle("Your page title here");
Notes:
API15:JDocument/setTitle - Sets the title of the document
Syntax:
setTitle($title)
| Parameter Name | Default Value | Description |
|---|---|---|
| $title | $title public |
No comments:
Post a Comment