Remove SimplePortal link tree from front page...

in Tutorials on 25 Mar 2010

Open...
Sources/PortalMain.php

Find:
   $actions[$_REQUEST['sa']][1]();

Replace with...
   if ($_REQUEST['sa'] == 'articles')
      $context['linktree'] = array();

   $actions[$_REQUEST['sa']][1]();





idesignSMF Team
Mick is an American theme designer for Simple Machines Forum software currently living in South Florida, USA. He runs idesignSMF.com and started tinkering with SMF in 2006 where he created several SMF forums of his own before he founded idesignSMF in 2009 to which he is dedicated full time.

idesignSMF.com | SimpleMachines.org



3 Comments

thanks man. it works with smf 2.0.2 perfectly

#1
Glad it worked for ya. I also use it here ;)
#2
hi there, i successfully removed the linktree from the front page, but as a result all the other contents of the frontpage moved too much 'up' and are now too close to the main content table border.
If i would only have a <br > in-between the table border and the rest of the content (in other words where the linktree used to be), that'd be great!

Any ideas on how to do that?

Thanks in advance! :)
#3

rocket_launch

Tutorials. We have a great selection of tutorials to help you make the most of your theme.