Quote:
GIJOE wrote:
Some modules assign 'xoops_default_comment_title' as a template's variable.
(TinyD, piCal ...)
Since news does not, I've hacked the news.
end of article.php
$xoopsTpl->assign('mail_link', 'mailto:?subject='.sprintf(_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_NW_INTARTFOUND, $xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/news/article.php?storyid='.$article->storyid());
$xoopsTpl->assign( 'xoops_pagetitle' , $article->title() ) ; // GIJ
$xoopsTpl->assign( 'xoops_default_comment_title' , 'Re: ' . $article->title() ) ; // GIJ
include XOOPS_ROOT_PATH.'/include/comment_view.php';
include XOOPS_ROOT_PATH.'/footer.php';
?>
Perfect! Sorry by delay in my reply. I was very busy working in my site.
Xoops: day after day I love more!