Including PHP into Page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
webmattster
New Member
New Member
Posts: 3
Joined: Wed Jun 04, 2008 4:44 pm

Including PHP into Page

Post 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!
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

Re: Including PHP into Page

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

Re: Including PHP into Page

Post 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...
cyberman

Re: Including PHP into Page

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”