To add the site title to the page title on every page, in the template's index.php file add this after the head:
<?php
$document =& JFactory::getDocument();
$document->setTitle($mainframe->getCfg('sitename') . " - " . $document->title);
?>
Configure.php is the template for the print popup. To get the print popup to work in IE edit components/com_content/helpers/icon.php and replace the $attribs['onlick'] line with this:
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),"msie") > 0) {
$attribs['target'] = '_blank';
} else {
$attribs['onclick'] = "window.open(this.href,'win2','".$status."'); return false;";
}
To get MooTools to load on every page after <jdoc:include type="head" /> add <?php JHTML::_(;behaviour.mootools');?> in the template index.php file. If you don't do this and you use mootools in your template you may get javascript errors on pages with forms.
<?php
$document =& JFactory::getDocument();
$document->setTitle($mainframe->getCfg('sitename') . " - " . $document->title);
?>
Configure.php is the template for the print popup. To get the print popup to work in IE edit components/com_content/helpers/icon.php and replace the $attribs['onlick'] line with this:
if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),"msie") > 0) {
$attribs['target'] = '_blank';
} else {
$attribs['onclick'] = "window.open(this.href,'win2','".$status."'); return false;";
}
To get MooTools to load on every page after <jdoc:include type="head" /> add <?php JHTML::_(;behaviour.mootools');?> in the template index.php file. If you don't do this and you use mootools in your template you may get javascript errors on pages with forms.