I use T3 and a Joomlart template and would like to set a different title for the home page from the rest of the site. This is proving quite hard to do!
I tried setting this in the template's Before < /head> section:
<script type="text/javascript">
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) {
$this->setTitle( 'TITLE' );
}
</script>
It seems like Joomla creates a default page title for the page that overrides this script.
I just want TITLE in the title, not TITLE - TITLE which I seem to be getting or Home - Title.
How do I fix this?
Cheers, David