Portal code is loaded twice when using portalview

Dyos MOD Portalview - to show up Portal blocks in the whole forum.
Dyos MOD Portalview - um Portal Blöcke im gesamten Forum anzeigen zu lassen.

Moderator: Dyo

Forum rules
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
Locked

Topic author
ghostman
Active Member
Posts: 38
Joined: 16. January 2010 13:37

Portal code is loaded twice when using portalview

Post 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

Topic author
ghostman
Active Member
Posts: 38
Joined: 16. January 2010 13:37

Re: Portal code is loaded twice when using portalview

Post by ghostman »

Solved

/Ghostman
Locked

Return to “MOD Portalview - Portal blocks in whole forum”