SimplePortal

Customization => Themes and Graphics => Topic started by: diet222 on August 04, 2010, 11:51:47 PM

Title: Added Forum Button
Post by: diet222 on August 04, 2010, 11:51:47 PM
I added the forum button on my 1.1.11 forum. But now the forum button still go to the portal page. How do I fix this?
Title: Re: Added Forum Button
Post by: AngelinaBelle on August 10, 2010, 04:52:51 PM
The instructions in http://simpleportal.net/index.php?topic=148.0 (http://simpleportal.net/index.php?topic=148.0) say your forum button must have
 
Code: [Select]
href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"
So this will work for sp_portal_mode of 1.
 
But I'm guessing you are in standalone portal mode.
In this case, you would want
Code: [Select]
href=", $scripturl . (in_array($modSettings['sp_portal_mode'], array(1,3)) ?  '?action=forum' : ''), '"

Please give that a try (my apologies for any typos).
 
 
 
 
 
SimplePortal 2.3.8 © 2008-2024, SimplePortal