17
Hi,
That didn't work on my website so i do like that to display title of categories, sub-categories and downloads in page's title:
*For viewcat.php:Before :
include XOOPS_ROOT_PATH . '/footer.php';
Put:
$affiche = $mytree->getNicePathFromId($cid, "title");
$afficher = strip_tags ($affiche);
$module_name = $myts->makeTboxData4Show($xoopsModule->getVar('name'));
$xoopsTpl->assign('xoops_pagetitle',$module_name. ' : ' .$afficher);
*For singlefile.php:Before:
include XOOPS_ROOT_PATH . '/include/comment_view.php';
Put:
$affiche = $mytree->getNicePathFromId($cid, "title");
$afficher = strip_tags ($affiche);
$module_name = $myts->makeTboxData4Show($xoopsModule->getVar('name'));
$xoopsTpl->assign('xoops_pagetitle',$module_name. ' : ' .$afficher. $myts->makeTboxData4Show($down_arr['title']));
Demo:
http://www.easy-achat.com/wfdownloads+index.htm°°++