I am using custom search module in joomla 2.5 and I need to add extra text to the title tag on module. But I cant seem to find where the tag is located in Joomla. Does any of you guys know where it is located and how can I override page title ? Thanks
@George Wilson is close, but the $this
will only work depending on what context you are in/
Instead you can do something as simple as the following pretty much anywhere (though this should be something set by either the component or a plugin specifically meant to improve page titles globally in some way).
JFactory::getDocument()->setTitle('Set your title here');
Do note though that if you set this in a module or elsewhere, something else can come along later in the code and override this.