1
Thanks JackJ and Koreus
Do as this post
here i got this little hack works in news newbb mydownloads and weblog.
Here is how:
for News
as JackJ says:
Quote:
go to modules/news/article.php
add a line before
include XOOPS_ROOT_PATH.'/include/comment_view.php';
The line:
$xoopsTpl->assign('xoops_pagetitle', htmlentities($xoopsModule->name() . ' -' . $article->title()));
But since my site is a Chinese site
so i have to change
$xoopsTpl->assign('xoops_pagetitle', htmlentities($xoopsModule->name() . ' -' . $article->title()));
to
$xoopsTpl->assign('xoops_pagetitle', htmlspecialchars($xoopsModule->name() . '- ' . $article->title()));
to have is works fine
for newbb
in the file viewtopic.php
add this line:
$xoopsTpl->assign('xoops_pagetitle', htmlspecialchars($xoopsModule->name() . ' - ' . $forumdata['topic_title']));
for mydownload
add this line:
$xoopsTpl->assign('xoops_pagetitle', htmlspecialchars($xoopsModule->name() . ' - ' . $title));
for weblog
in the file details.php
add this line:
$xoopsTpl->assign('xoops_pagetitle', htmlspecialchars($xoopsModule->name() . ' - ' . $entryObject->getVar('title')));