NetTalk Central

Author Topic: Embedding in static pages  (Read 5113 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Embedding in static pages
« on: September 09, 2009, 09:08:35 AM »
Hi,

Having a fixed static page.
How can I do to embedd all the NTWS site inside it?

Thanks
Alberto
-----------
Regards
Alberto

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Embedding in static pages
« Reply #1 on: September 09, 2009, 05:08:48 PM »
If the page is being presented by the nettalk app, then you can put <! Net:procedure --> tags in the static page to present modules. If the static page is being hosted elsewhere on another server like apache or IIS then I guess you could make a frame and have frame point to the nettalk app.

<frameset cols="1,1" border="1" frameborder="0">
<frame name="main" src="http://68.192.240.240:88/" noresize="noresize" />
</frameset>

 :P - I don't like the looks of that!
chris
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Embedding in static pages
« Reply #2 on: September 09, 2009, 09:57:42 PM »
See also the "Pages" example. (Example 47).
This shows both a browse and a form being embedded on static pages.

Also take a look at the webinar made by Wolfgang Orth.
http://www.clarionlive.com/index.php?option=com_content&view=article&id=74:webinar-18-show-a-tell&catid=1:latest-news&Itemid=76

Cheers
Bruce

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Embedding in static pages
« Reply #3 on: September 10, 2009, 12:53:48 AM »
I've done it before with iframe's. By tweaking the iframe you can show bits and pieces of NTWS windows within a static page, like a contact form or even a simple counter.
Mike Grigsby
Credify Systems
Central Oregon, USA

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Embedding in static pages
« Reply #4 on: September 10, 2009, 03:34:57 AM »
Thanks All,

Bruce,
I'm using the example 47 technique.
The problem is that you need one static page per each procedure.

Chris,
I´ve tryed this but it does not work, at least inside a simple html page.

Mike,
I've tested iframes and I think its the best way.

Thanks!
Alberto
-----------
Regards
Alberto

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Embedding in static pages
« Reply #5 on: September 10, 2009, 05:57:55 AM »
Where are the static pages? Are they on their own server?
How does the user get to see the static page by typing in the the address, or is it presented by the nettalk app?

I have used iframes for different things, but I haven't put a nettalk procedure into one yet.

chris
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Embedding in static pages
« Reply #6 on: September 10, 2009, 09:28:15 PM »
Ahh - Alberto, I see what you have in mind.

If you want a consistant wrapper around all the netwebpages, then break your wrapper into 2 pieces, and place the "before" part in the header and the "after" part in the footer.

Cheers
Bruce