vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-2006, 02:16 AM
jazba jazba is offline
Junior Member
 
Join Date: Jan 2006
Posts: 6
Default Display PHP pages within VBAdvanced?

I created a new template as follows:

==========================================================
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]Request A Song<!-- Module Title Here --></strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- Content for your module goes here -->
<script type="text/javascript">
function autoResize() {
var dest = document.getElementById('container');
var source = window.frames[0].document.body.innerHTML;
dest.innerHTML = source
} </script>
<div id=container>
<iframe onload="autoResize()" name="I1" src="http://72.9.240.20/~jazba/sam/index.php" width="100%" scrolling="yes" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
</div>


</td>
</tr>
</table>
<br />
==========================================================

The resulting page is http://www.desiradio.ca/vb/index.php?page=request

The problem is that the "Request A Song" page has a smaller height rather than having 100% height.. I tried the iframe code with height=100% but that didnt work either. I want the height of that frame containing the PHP file to be 100% of the php page itself (it works fine with html pages)

The current workaround is to add height in the iframe tag , but that gives a fixed height and some php pages that are linked need scrolling.
Workaround Code:

-------------------------------
<iframe onload="autoResize()" name="I1" src="http://72.9.240.20/~jazba/sam/index.php" width="100%" height="500" scrolling="yes" border="0" frameborder="0">
------------------------------------

Please advise if there is any effective way to get the height to a 100% for PHP pages ?

Thanks
Reply With Quote
  #2  
Old 02-22-2006, 11:21 AM
trana trana is offline
Senior Member
 
Join Date: Apr 2005
Posts: 290
Default Re: Display PHP pages within VBAdvanced?

You might want to think about using the Webtemplates hack for this as it will probably be easier.
Reply With Quote
  #3  
Old 02-22-2006, 03:21 PM
jazba jazba is offline
Junior Member
 
Join Date: Jan 2006
Posts: 6
Default Re: Display PHP pages within VBAdvanced?

web templates hack? can you guide me where to find it?
Reply With Quote
  #4  
Old 02-22-2006, 04:35 PM
tomshawk's Avatar
tomshawk tomshawk is offline
tech-unity.com
 
Join Date: Jun 2004
Posts: 452
Default Re: Display PHP pages within VBAdvanced?

http://www.vbulletin.org/forum/showthread.php?t=103076
__________________



Reply With Quote
  #5  
Old 02-22-2006, 04:49 PM
trana trana is offline
Senior Member
 
Join Date: Apr 2005
Posts: 290
Default Re: Display PHP pages within VBAdvanced?

That is one of the most powerful scripts for VB, love it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when editing pages Invalid SQL: SELECT * FROM vb3_adv_pages ORDER BY display Pooh Troubleshooting & Problems 3 08-12-2005 04:18 PM
Bug (and Fix) - Pages Display Order Meaningless Kaelon Bugs From 2.0 RC2 0 07-26-2005 05:27 PM
How Do I Display Columns in All Forum Pages Spider-Man "How Do I..." Questions 19 07-15-2005 10:19 AM
How do I display vbadvanced cpanel logo LEAD_WEIGHT "How Do I..." Questions 1 06-04-2005 06:36 PM
Display HTML pages within VBAdvanced? MtnDewMan Troubleshooting / "How do I..." Questions 16 03-29-2005 08:16 AM


All times are GMT -4. The time now is 02:14 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.