Page 1 of 1

"calling" a html page

Posted: Mon May 15, 2006 8:08 pm
by bus
hello,

is it possible to show a html page on a cms page? I imagine something like a line of code, just like when you call the module news or the calender.

Peter

Re: "calling" a html page

Posted: Mon May 15, 2006 9:08 pm
by Dr.CSS
you mean inside the content area of a page?

    mark

Re: "calling" a html page

Posted: Mon May 15, 2006 9:44 pm
by Elijah Lofgren
bus wrote: is it possible to show a html page on a cms page? I imagine something like a line of code, just like when you call the module news or the calender.
Check out the Embed Tag

In the CMSMS Admin Panel go to "Extensions->Tags" and click on the help link next to "embed" (or just read what I pasted below).
Help for the embed tag
What does this do?

Enable inclusion (embeding) of any other application into the CMS. The most usual use could be a forum. This implementation is using IFRAMES so older browsers can have problems. Sorry bu this is the only known way that works without modifing the embeded application.
How do I use it?

Just insert the tag into your template/page like: {embed}
What parameters does it take?

    * (required)url - the url to be included
    * (optional)header=true - this will generate the header code for good resizing of the IFRAME.

You must include in your page {embed url=..} and in the header section (advanced tab) you must put {embed header=true}

Re: "calling" a html page

Posted: Mon May 15, 2006 9:59 pm
by Dr.CSS
and where is this.. and in the header section (advanced tab) you must put {embed header=true}

  mark

Re: "calling" a html page

Posted: Mon May 15, 2006 10:26 pm
by Elijah Lofgren
mark wrote: and where is this.. and in the header section (advanced tab) you must put {embed header=true}
I'm guessing it means in the "Metadata:" section since there is no header section in the Advanced tab of editing a page. I've never used the embed tag ;)

Re: "calling" a html page

Posted: Mon May 15, 2006 10:27 pm
by Dr.CSS
ever use the style switcher?

  mark

Re: "calling" a html page

Posted: Mon May 15, 2006 10:33 pm
by Elijah Lofgren
mark wrote: ever use the style switcher?
Nope.

Re: "calling" a html page

Posted: Mon May 15, 2006 10:44 pm
by Dr.CSS
OH YA that is so funny check this out http://www.multiintech.com/index.php?page=embeded
put this in the page edit box {embed url=http://www.multiintech.com/old/index.html}
put this in the "Metadata:" section  {embed header=true}
be sure to put this in the of the template  {metadata}

BTW: the page in the page is draggable just like an open application window on your desk top, the menu and all the links work, that page is as close as i could get to a desktop app.... then i found CMSMS and stopped working on that site, also draggable page in CMSMS http://www.multiintech.com/index.php?page=desktop...

  have fun
                mark

Re: "calling" a html page

Posted: Tue May 16, 2006 1:39 am
by Elijah Lofgren
mark wrote: OH YA that is so funny check this out http://www.multiintech.com/index.php?page=embeded

BTW: the page in the page is draggable just like an open application window on your desk top, the menu and all the links work, that page is as close as i could get to a desktop app.... then i found CMSMS and stopped working on that site, also draggable page in CMSMS http://www.multiintech.com/index.php?page=desktop...
Wow, those pages are really amazing!  :o That must have taken a LOT of work. Good job!  ;)

Re: "calling" a html page

Posted: Tue May 16, 2006 1:46 am
by Dr.CSS
thanks .. the /old/ one was the most work i've ever had to do to a page and then i had to make it work in IE  oh boy what fun  :D
once i got the hang of using CMSMS i ported it over but i can't get the menu to be the same...

  mark