gbook is loading a white page first

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

gbook is loading a white page first

Post by Jomar »

Script URL: http://www.zydegonutz.nl/index.php?opti ... &Itemid=41
Version of script: 1.6
Hosting company: hosting2go.nl
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
White page first
gbook in joomla

Write your message below:

Again i'm using this perfect guestbook in a website.
This time it is loaded in a wrapper in Joomla, but now you first see a white page while loading.
Is there a solution for this issue?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try setting a background color for the iframe that is loading GBook.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

That isn't going to do the trick Klemen, but I found a solution.
And I'm sure other people have the same problem so I will share it with you.

With your ftp program find the file:
templates/your_template_name/html/com_wrapper/default.php

Put in this code:

You have to ad a line I marked with #this line#. Don't include #this line#, get rid of it!

Code: Select all

<div class="contentpane<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php if ( $this->params->get( 'show_page_title' ) ) : ?>
   <div class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
   <?php echo $this->params->get( 'page_title' ); ?>
   </div>
<?php endif; ?>
<iframe <?php echo $this->wrapper->load; ?>
   id="blockrandom"
   name="iframe"
   src="<?php echo $this->wrapper->url; ?>"
   width="<?php echo $this->params->get( 'width' ); ?>"
   height="<?php echo $this->params->get( 'height' ); ?>"
   scrolling="<?php echo $this->params->get( 'scrolling' ); ?>"
   align="top"
   frameborder="0"
#this line# allowtransparency="true"
   class="wrapper<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
   <?php echo JText::_( 'NO_IFRAMES' ); ?>
</iframe>
Hope this can be helpfull.
Post Reply