trying to use i-frames but cmsms falls over

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
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

trying to use i-frames but cmsms falls over

Post 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?
Milhaus

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

Post 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
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post 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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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}
Last edited by Anonymous on Fri Oct 26, 2007 12:17 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
Pierre M.

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

Post by Pierre M. »

I'd rather no frame at all ;-)

Pierre M.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post by herbshirt »

Tops. Thanks guys. I'll get to it later and let you know how I go.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post 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. :-\
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

There is a diff. line for metadata, in options while editing page...

{embed header=true}
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post by RonnyK »

http://dev.cmsmadesimple.org/projects/piiframe/

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

Ronny
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post 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.  ???
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Actually it does change to 2, 3, etc....
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post 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.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

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

Post 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!  :'(
Last edited by herbshirt on Tue Nov 06, 2007 12:34 am, edited 1 time in total.
Post Reply

Return to “CMSMS Core”