trying to use i-frames but cmsms falls over
trying to use i-frames but cmsms falls over
Hi,
Using; CMS Made Simple 1.1 "Samoa".
Added new page, inserted i-frame code...
When I hit Submit or Apply I get a 404 page can't be found ??
I thought I might have had an installation problem so I created another page with normal content and it worked fine.
does anyone have any idea why i flips out when I'm tring to use an i-frame?
Using; CMS Made Simple 1.1 "Samoa".
Added new page, inserted i-frame code...
When I hit Submit or Apply I get a 404 page can't be found ??
I thought I might have had an installation problem so I created another page with normal content and it worked fine.
does anyone have any idea why i flips out when I'm tring to use an i-frame?
-
Milhaus
Re: trying to use i-frames but cmsms falls over
I think there must be problem at your server. I tried it on my local installation (PHP 5.2.4, Win XP, CMSMS 1.2) and didn't experience any problem. Sorry, that I can't help more.
Perhaps you should post your configuration (including output from phpinfo() function).
Milhaus
Perhaps you should post your configuration (including output from phpinfo() function).
Milhaus
Re: trying to use i-frames but cmsms falls over
Anyon else had a simliar problem?
Here's some more info...
Before I converted a static site to cms ms I had some links pages; resources.htm, resources2.htm etc etc.. (let's not argue about seo techniques, links etc etc here
)
Initially I had created the 'resources.htm' pages in cms ms. An seo person managed those pages via ftp and updated them regularly. I thought I could replace the links on the pages with an iframes for each page feeding in regular .htm pages in order to rtn to that system.
I switched the cms ms resource pages to 'inactive', inserted the above code, but as soon as I try to save the page I get a 404 (not on the live page but in cms ms)
Any other ideas?
Here's some more info...
Before I converted a static site to cms ms I had some links pages; resources.htm, resources2.htm etc etc.. (let's not argue about seo techniques, links etc etc here
Initially I had created the 'resources.htm' pages in cms ms. An seo person managed those pages via ftp and updated them regularly. I thought I could replace the links on the pages with an iframes for each page feeding in regular .htm pages in order to rtn to that system.
I switched the cms ms resource pages to 'inactive', inserted the above code, but as soon as I try to save the page I get a 404 (not on the live page but in cms ms)
Any other ideas?
Re: trying to use i-frames but cmsms falls over
Herbshirt,
there are tags to use to call iframe {embed} or {pi_iframe}, but where is your resources.htm stored? Try with giving the full URL, or the path from your CMSMS-root down.
Ronny
there are tags to use to call iframe {embed} or {pi_iframe}, but where is your resources.htm stored? Try with giving the full URL, or the path from your CMSMS-root down.
Ronny
Re: trying to use i-frames but cmsms falls over
{embed} tag would work best...
Extensions > Tags click the name of the tag to get the parameters it takes... just like modules...
EDIT: I've never used {pi_iframe}
Extensions > Tags click the name of the tag to get the parameters it takes... just like modules...
EDIT: I've never used {pi_iframe}
Last edited by Anonymous on Fri Oct 26, 2007 12:17 am, edited 1 time in total.
Re: trying to use i-frames but cmsms falls over
Mark,
just a side question, why do you prefer {embed} over {pi_iframe}? I found {embed} killing W3-org validation, which {pi_iframe} doesnt.
Ronny
just a side question, why do you prefer {embed} over {pi_iframe}? I found {embed} killing W3-org validation, which {pi_iframe} doesnt.
Ronny
Re: trying to use i-frames but cmsms falls over
Tops. Thanks guys. I'll get to it later and let you know how I go.
Re: trying to use i-frames but cmsms falls over
Well here's the latest... 
To be sure the path is right I'm now using Absolute path's.
If I put {pi_iframe url=http://www.mydomain.com/resources.htm} I get the same 404.( I couldn't find pi_frame in the Tags section)
If I put {embed url=http://www.mydomain.com/resources.htm} I don't get an error, I see the template but I don't get the external page feeding in. The tag also suggested placing it in the meta box as well. That didn't work either.
This one's starting to drice me nutty.
To be sure the path is right I'm now using Absolute path's.
If I put {pi_iframe url=http://www.mydomain.com/resources.htm} I get the same 404.( I couldn't find pi_frame in the Tags section)
If I put {embed url=http://www.mydomain.com/resources.htm} I don't get an error, I see the template but I don't get the external page feeding in. The tag also suggested placing it in the meta box as well. That didn't work either.
This one's starting to drice me nutty.
Re: trying to use i-frames but cmsms falls over
There is a diff. line for metadata, in options while editing page...
{embed header=true}
{embed header=true}
Re: trying to use i-frames but cmsms falls over
http://dev.cmsmadesimple.org/projects/piiframe/
and the function should be transferred to the plugins-folder.
Ronny
and the function should be transferred to the plugins-folder.
Ronny
Re: trying to use i-frames but cmsms falls over
Well I got the Embed to work...whew. Thanks Mark.
BUT; I'm not sure 'they' are going to happy with the fact the URL doesn't actually change ( http://www.lilypily.com.au/resources.html) with each Page 1 Page 2 etc..
Would it be different if I used the pi_iframe??
I uploaded the pi-Frame thing to my plugins folder (is it only suposed to be 1 x php file?). It now appears in Extensions > Tags but when I click on it I get a... you guessed it 404! So I don't have any instrcution on what to do with it.
BUT; I'm not sure 'they' are going to happy with the fact the URL doesn't actually change ( http://www.lilypily.com.au/resources.html) with each Page 1 Page 2 etc..
Would it be different if I used the pi_iframe??
I uploaded the pi-Frame thing to my plugins folder (is it only suposed to be 1 x php file?). It now appears in Extensions > Tags but when I click on it I get a... you guessed it 404! So I don't have any instrcution on what to do with it.
Re: trying to use i-frames but cmsms falls over
Actually it does change to 2, 3, etc....
Re: trying to use i-frames but cmsms falls over
It is at the moment because I had to change it back to manually updating the links on each page myself. I only get a chance to work on this a couple of times a week so unfortunately I can't just leave it in an experimental state until I get back to it.
But not if I use the embed tag.
BUT. I'm going to try something else on Tuesday. - Move the links to Page 1 Page 2 etc etc OUTSIDE the embed and just have the LINKS inside the embed.
But not if I use the embed tag.
BUT. I'm going to try something else on Tuesday. - Move the links to Page 1 Page 2 etc etc OUTSIDE the embed and just have the LINKS inside the embed.
Re: trying to use i-frames but cmsms falls over
You wouldn't believe it guys.
I have other current frustrated post regarding issues with IE. A couple of hours later IE is haunting me again.
I finally got the above to work (the htm and html (because i use pretty url's were also getting confused so I FEED html and use html for the actual page... whew)
http://www.lilypily.com.au/test1.html
BUT...!!!
the embed tag doesn't seem to work in IE. I can't believe it!
I have other current frustrated post regarding issues with IE. A couple of hours later IE is haunting me again.
I finally got the above to work (the htm and html (because i use pretty url's were also getting confused so I FEED html and use html for the actual page... whew)
http://www.lilypily.com.au/test1.html
BUT...!!!
the embed tag doesn't seem to work in IE. I can't believe it!
Last edited by herbshirt on Tue Nov 06, 2007 12:34 am, edited 1 time in total.



