Page 1 of 1

Including PHP into Page

Posted: Thu Jun 12, 2008 12:39 pm
by webmattster
I am trying to include a PHP page into a page in the CMSMS system.  I have tried the PHP include tag, but that didn't work.  Right now I'm using the embed tag (found under the Tags section) and it's showing the page,but I need to increase the width of the page to fill the full size of the main page it's getting included into.  Right now it's only about half the width of the page...

I've tried using #myframe in the stylesheet and adding width under it, but it doesn't work...do I need to somehow change the for the include to be called "myframe" or is there something else?

Thanks!

Re: Including PHP into Page

Posted: Thu Jun 12, 2008 4:10 pm
by nakkiel
Have you tried to put your include into user defined tags and call that from an empty page template? Or maybe you could create making iframe that's 100% width/height and call it there...?

Re: Including PHP into Page

Posted: Thu Jun 12, 2008 8:23 pm
by Dr.CSS
webmattster

You need to include a little more info, ver. CMSMS etc. and link to site, or if on your comp. then source of page and CSS woulod help...

Re: Including PHP into Page

Posted: Fri Jun 13, 2008 5:31 am
by cyberman
nakkiel wrote: Have you tried to put your include into user defined tags and call that from an empty page template?
http://wiki.cmsmadesimple.org/index.php ... fined_Tags