Okay, I have a page and part of this page uses an iframe to load another php file into it <tr> <td align="center" class="row1" valign="top" colspan="3"> <iframe width="100%" height="200" left="0" frameborder=0 src="{S_CHATBOX}" class="row1"></iframe> </td> </tr> Code (markup): {S_CHATBOX} is the location of the php file. Now, the iframe loads a few seconds slower than the rest of the page. Is there any way of speeding up the load time? I don't mind using something other than an iframe if it works.
Unfortunately, include won't work. Using it in the template file causes one lot of errors, using it in the php file causes another lot.
Include should work fine. Just sounds like you didn't have the external php file coded right. Try again, we're all here to help
I'm using iframe because that's how the script was written, but I don't like how it's working, that's why I'm looking to change it. Doing the include in the tpl file creates far too many errors and doesn't work. I can get rid of the error from doing the include in the php file by a minor edit; however, it still doesn't work.