SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: ccbtimewiz on May 27, 2009, 04:53:53 PM
-
http://simpleportal.net/index.php?action=
When the action parameter is set but left empty, the right side is missing. Is this intended to happen?
Same thing happens if board or topic is set but not defined.
From the look of it, it appears that blocks defined to only show on the portal page look for nothing to be set.
-
That's intentional. If you have something in the URL that does not belong to SimplePortal, blocks that are only displayed on portal are not displayed. This is to prevent URLs like
http://simpleportal.net/index.php?project=1
http://simpleportal.net/index.php?issue=146.0
http://simpleportal.net/index.php?game=5
being considered as portal. Because action, topic and board will empty there too.
-
Ahhh, I see what you mean. Though what if you tried to access an area that was still considered 'portal', but had those parameters?
-
There is a '$portal_actions' array defined within the 'getShowInfo' function of the 'Subs-SPortalX.php' file. Any special $_GET parameters which will be used, but are still considered a part of the portal must be added there.
-
Thanks Nat. :)
This is solved for now.