Page 1 of 1

Portal code is loaded twice when using portalview

Posted: 28. June 2010 14:28
by ghostman
Your Portal Version: 1.0.5
Your Portalview Version: 1.0.0 RC3
Your phpBB Type: phpBB3.0.7 pl1
Style: SFCentar (99% prosilver)
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.btdt-aszune.eu

PHP Version: 5.2.6
MySQL Version: 5.0.51

What have you done before the problem was there?
Added Portalview

What have you already tryed to solve the problem?
Lot of thinking and try and errors

Description and Message
After I added portalview there is a "double gap" between Banner and portal blocks, and its only on frontpage (portal) if I enter forum the double gap disapear.
Have done some studdy, and found that portal blocks is called twice. Therefor the double gap.
portal.php is calling portal_body.html and portal_body.html is calling overall_header.html (and now the problem) overall_header.html is again calling portal_header.html and that is causing the double gap.
Is there a way that can tell overall_header.html not to load portal_header.html if you are on the frontpage, and tell it to load portal_header.html when you are not on the frontpage ?

/Ghostman

Re: Portal code is loaded twice when using portalview

Posted: 28. June 2010 21:03
by ghostman
Solved

/Ghostman