2
You'd have to do a little PHP tweaking to this section of code
filename: modules/news/index.php
linenumber: 297-308
/**
* Assign page's title
*/
if($firsttitle!='') {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($firsttitle) . ' - ' . $myts->htmlSpecialChars($xoopsModule->name()));
} else {
if($topictitle!='') {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($topictitle));
} else {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($xoopsModule->name()));
}
}
just change the values inside the htmlSpecialChars(...) function, careful to keep the closing brackets )) intact.
You could just take the simple route and add this line :
/**
* Assign page's title
*/
if($firsttitle!='') {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($firsttitle) . ' - ' . $myts->htmlSpecialChars($xoopsModule->name()));
} else {
if($topictitle!='') {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($topictitle));
} else {
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($xoopsModule->name()));
}
}
//add this line
$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars('My Website Name'));
after all the other if statements to set the pagetitle at the end, regardless of the flow of logic in the if statements. quick and dirty but it should get the job done.
good luck!
D.
みんなちがってみんないい。
XOOPS 2.0.13.2