Page 1 of 1
best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)
Posted: Sat Aug 18, 2007 3:30 pm
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
Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)
Posted: Sat Aug 18, 2007 5:15 pm
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.
Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)
Posted: Sat Aug 18, 2007 6:07 pm
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
Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)
Posted: Sat Aug 18, 2007 8:59 pm
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?...
Re: best way to use iframes with CMSMS/(w/ Glob. Content Blocks?)
Posted: Sun Aug 19, 2007 4:42 pm
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.