SimplePortal

Customization => Themes and Graphics => Topic started by: TigPT on September 13, 2009, 01:45:38 PM

Title: SimpleWave with SP 2.3
Post by: TigPT on September 13, 2009, 01:45:38 PM
Hello,

I just want to remove the three in the top of the window inside the portal, but keep it in other pages.

I have done this chage before in smf 1.1.x but in 2.0 i can't find where this code is to add the if, and don't relly remember the exact expression.

I add a image to help explaning.

(http://img147.imageshack.us/img147/5189/simplewave.jpg)

Did anyone done it and can help me out?
Thanks,
Title: Re: SimpleWave with SP 2.3
Post by: Nathaniel on September 14, 2009, 02:04:04 AM
Find this code from your 'sources/PortalMain.php' file:
Code: [Select]
$context['page_title'] = $context['forum_name'];
Replace with this code:
Code: [Select]
$context['page_title'] = $context['forum_name'];
$context['linktree'] = array();
Title: Re: SimpleWave with SP 2.3
Post by: TigPT on September 14, 2009, 04:31:44 AM
Thanks Nathaniel, it solved my problem ;)
Title: Re: SimpleWave with SP 2.3
Post by: Pantho on October 31, 2009, 02:27:14 PM
Hope it's ok bumping this :)

I've got the exact same issue with all themes that I try to use in 2.3.1.

I've done the change noted above, and this fixed the problem perfectly but only on the main page, not for forums/profile etc.

Any idea?
http://travian-tools.co.uk/byb/index.php?action=forum
Title: Re: SimpleWave with SP 2.3
Post by: Eliana Tamerin on October 31, 2009, 02:50:21 PM
That's because you only have blocks displayed on your portal page. That change is taking place in the portal source, so it will only affect pages where the portal appears.

You're also using the Classic theme, which may or may not work 100% with that fix, even when the portal appears on the forum. You may need to ask over at SimpleMachines.org for more assistance with that theme if you wish to remove the linktree.
Title: Re: SimpleWave with SP 2.3
Post by: Mick. on January 19, 2010, 08:18:54 PM
Thanx.  This worked :nervous-happy:
SimplePortal 2.3.8 © 2008-2024, SimplePortal