Page 1 of 1

trying to use i-frames but cmsms falls over

Posted: Wed Oct 24, 2007 12:26 am
by herbshirt
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?

Re: trying to use i-frames but cmsms falls over

Posted: Wed Oct 24, 2007 6:12 am
by Milhaus
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

Re: trying to use i-frames but cmsms falls over

Posted: Thu Oct 25, 2007 3:20 am
by herbshirt
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?

Re: trying to use i-frames but cmsms falls over

Posted: Thu Oct 25, 2007 5:13 am
by RonnyK
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

Re: trying to use i-frames but cmsms falls over

Posted: Thu Oct 25, 2007 5:21 am
by Dr.CSS
{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}

Re: trying to use i-frames but cmsms falls over

Posted: Thu Oct 25, 2007 6:47 am
by RonnyK
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

Re: trying to use i-frames but cmsms falls over

Posted: Thu Oct 25, 2007 2:28 pm
by Pierre M.
I'd rather no frame at all ;-)

Pierre M.

Re: trying to use i-frames but cmsms falls over

Posted: Fri Oct 26, 2007 12:00 am
by herbshirt
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

Posted: Mon Oct 29, 2007 11:15 pm
by herbshirt
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. :-\

Re: trying to use i-frames but cmsms falls over

Posted: Tue Oct 30, 2007 3:20 am
by Dr.CSS
There is a diff. line for metadata, in options while editing page...

{embed header=true}

Re: trying to use i-frames but cmsms falls over

Posted: Tue Oct 30, 2007 7:56 am
by RonnyK
http://dev.cmsmadesimple.org/projects/piiframe/

and the function should be transferred to the plugins-folder.

Ronny

Re: trying to use i-frames but cmsms falls over

Posted: Wed Oct 31, 2007 3:01 am
by herbshirt
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.  ???

Re: trying to use i-frames but cmsms falls over

Posted: Wed Oct 31, 2007 9:13 pm
by Dr.CSS
Actually it does change to 2, 3, etc....

Re: trying to use i-frames but cmsms falls over

Posted: Thu Nov 01, 2007 9:19 pm
by herbshirt
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.

Re: trying to use i-frames but cmsms falls over

Posted: Tue Nov 06, 2007 12:14 am
by herbshirt
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!  :'(