SimplePortal
Customization => Custom Coding => Topic started by: yaosurfer on April 03, 2012, 05:25:52 PM
-
Hello,
Can anyone tell how to remove the link tree from:
1. main page
2. any other sub-pages
After installing 2.3.5 the old method seems to drop error message?
Old steps: Sources/PortalMain.php > $actions[$_REQUEST['sa']][1](); > $context['linktree'] = array(); $actions[$_REQUEST['sa']][1]();
Thanks!
-
Open ./Sources/Subs-Portal.php
Find:
// If you want to remove Forum link when it is
// alone, take out the following two comment lines.
//if (empty($context['linktree'][1]))
// $context['linktree'] = array();
Replace with:
// If you want to remove Forum link when it is
// alone, take out the following two comment lines.
if (empty($context['linktree'][1]))
$context['linktree'] = array();
-
that did the trick
thank you Leekoberries