best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
glennn.php
Forum Members
Forum Members
Posts: 26
Joined: Thu Aug 09, 2007 10:51 am

best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

Post by glennn.php »

can someone point me to a some Documentation on how to use iframes with this great app...? i'd like for the iframe src to be editable by my client...

Thanks much,
glenn
Pierre M.

Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

Post by Pierre M. »

Hello Glenn,

Beware frames are a 20th century beast hack.
You are free to do what you want with CMSms, so you can have a frame inside a template (simple example).
You can find hints and opinions about this subject.
Know what you are doing : frames are known to be bad for accessibility and other things.

Pierre M.
glennn.php
Forum Members
Forum Members
Posts: 26
Joined: Thu Aug 09, 2007 10:51 am

Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

Post by glennn.php »

yes, i'm aware of that. nevertheless, there are times when they're quite handy. "accessibility" isn't as issue with the particular page.

I did a search for such and found very little that would hint at where there might be some documentation. I'm not afraid to read docs, there just seems to be a shortage of them here...

is there someone who can show me how i might use a Global Content Block, or at least a Page, as the src of an iframe without sharing with me that which most developers already know...? (no offense, Pierre)

Many Regards,
Glenn
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

Post by Dr.CSS »

You could make a page not shown in the menu with a custom template with nothing in the template but the {content} tag and use the {embed} tag, Extentions > Tags, in another page, or just use the GCB and put it in an content edit box for a page or in a template to show it on every page using that template...

OK so what do you want an iframe for?...
Pierre M.

Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)

Post by Pierre M. »

mark wrote: You could make a page not shown in the menu with a custom template with nothing in the template but the {content} tag and use the {embed} tag, Extentions > Tags, in another page...
Mark, you rock :-)
How wonderfull is CMSms : it makes frames The Right Way(TM) (if you want)

Pierre M.
Post Reply

Return to “CMSMS Core”