31
I solved the RSS problem (RSS icon an link not shown).
index.php ends with:
if($xoopsModuleConfig['enablerss'] == 1)
{
//$rsslink=sprintf("",WFDOWNLOADS_URL."rss.php", _MD_WFD_LEGENDTEXTRSS, XOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif",_MD_WFD_LEGENDTEXTRSS); $xoopsTpl->assign('full_rssfeed_link', $rsslink);
$rsslink=sprintf("",WFDOWNLOADS_URL."rss.php", _MD_WFD_LEGENDTEXTRSS, XOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif",_MD_WFD_LEGENDTEXTRSS, _MD_WFD_LEGENDTEXTRSS, '' ); //changed by Zyspec
}
This code doesn't work, because the line:
$xoopsTpl->assign('full_rssfeed_link', $rsslink);
should be after the definition of $rsslink. The first part (that starts with //$rsslink) can be deleted. Then, the correct code is:
if($xoopsModuleConfig['enablerss'] == 1)
{
$rsslink=sprintf("", WFDOWNLOADS_URL."rss.php", _MD_WFD_LEGENDTEXTRSS, XOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif", _MD_WFD_LEGENDTEXTRSS, _MD_WFD_LEGENDTEXTRSS); //changed by Zyspec
$xoopsTpl->assign('full_rssfeed_link', $rsslink);
}
I've added a space before WFDOWNLOADS_URL.
In viewcat.php there is a similar problem that can be solved in a similar way.
SMEDrieben