Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Closed Thread
PHP Includes & iFrames
Old 04-25-2011, 06:46 PM Re: PHP Includes & iFrames
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
nothing really to do with the CMS, simple or otherwise
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
 
Register now for full access!
Old 04-25-2011, 07:14 PM Re: PHP Includes & iFrames
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
You lost me there, Chris. I'm asking if anyone has a simple CMS solution for Facebook being that Pulse fell flat.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
View Public Profile Visit TripleMoons's homepage!
 
Old 04-26-2011, 04:18 PM Re: PHP Includes & iFrames
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
A: I doubt that there is a CMS that runs in the context of a Facebook page.

HTML Code:
<iframe frameborder="0" style="width: 520px; height: 800px;" id="app_runner_4db724ab31ff99037415182" name="app_runner_4db724ab31ff99037415182"></iframe>
As you can see the iframe is being constrained

BUT this is your problem

HTML Code:
<h1>Expected</h1>
Ball Pythons
<ul>
	<li>Cinnamon</li>
	<li>Mojave</li>
	<li>Pastel</li>
	<li>Yellowbelly</li>
	<li>Cinnabee</li>

	<li>Pewter</li>
</ul>
Boa Constrictors
<ul>
	<li>Albino</li>
</ul>
Cornsnakes
<ul>
	<li>Amelanistic Stripe</li>
	<li>Anerythristic Stripe</li>

	<li>Butter Stripe</li>
	<li>Caramel Stripe</li>
	<li>Stripe</li>
</ul>
For a iframe to expand correctly the content MUST be a correctly formed HTML document
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 04-26-2011, 04:36 PM Re: PHP Includes & iFrames
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
I know CMS is possible in Facebook iFrames, these guys have a paid version. It's just a matter of finding one that works.

I'm not sure where you got that iFrame sizing from, but it is not in anything I did and the actual Facebook iFrame auto resizes by using a special Facebook script that is in the code already.

The HTML you quoted is output by Pulse which is supposed to be inserted using that php include, not an iFrame. You had suggested putting it into an iFrame, so I did.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
View Public Profile Visit TripleMoons's homepage!
 
Old 04-26-2011, 06:14 PM Re: PHP Includes & iFrames
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
The HTML you quoted is output by Pulse which is supposed to be inserted using that php include, not an iFrame. You had suggested putting it into an iFrame, so I did.
Yes BUT iframes are not like divs or spans where you ONLY put the code for that page "section". An iframe is designed to show external content which must be a complete page. Set the output of your SMS to be a complete page and then see what happens.

The iframe sizing came from YOUR "facebook" page simply by using "view source"

iframes are just iframes Facebook haven't invented them specially

A page with two Iframes one with a set height and width the bottom one without.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 04-26-2011, 07:41 PM Re: PHP Includes & iFrames
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
Ok, it's all worked out now. Thanks for all of your help.

My wonderful PHP guru partner took a look and it had to do with errors in my code. Something about a PHP open and close tags inside an existing PHP open and close tag (he exclaimed it much more technically then that, over my head though). I also didn't have the file path input properly. So much for me trying to do it on my own, huh?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
View Public Profile Visit TripleMoons's homepage!
 
Old 04-27-2011, 09:21 AM Re: PHP Includes & iFrames
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0


Job done; thread closed:
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to PHP Includes & iFrames

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25190 seconds with 12 queries