fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
June 17, 2013, 11:31:45 PM

Login with username, password and session length
Search:     Advanced search
FMWebschool releases more educational FMStudio webinars - check them out here:
http://www.fmwebschool.com/webinars.php
27507 Posts in 6073 Topics by 1524 Members
Latest Member: fmwebster
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  FileMaker Inc Products and Technologies
| |-+  Instant Web Publishing
| | |-+  IWP and JavaScript
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: IWP and JavaScript  (Read 3317 times)
suviy
Newbie
*
Offline Offline

Posts: 2


« on: March 11, 2007, 11:52:11 PM »

Hi,

Is it somehow possible to include JavaScript to IWP files? Or is it only possible in CWP?

Br, Suvi
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #1 on: March 12, 2007, 06:14:11 AM »

You can certainly edit the FileMaker web pages, but I advise you to MAKE A BACKUP before doing so.  Many people have added Java Script capabilities. 
IWP has numerous pages such as:

iwp_home.html (The most commonly edite page) iwp_sort.html, status_frame.htm, fmi_iwp.js all of which can be edited.  Since I write a lot of books and articles on web publishing, I have edited most of the pages to demonstrate different techniques.  I back up the originals into a folder named (old) in case I code myself into a corner Smiley

I hope this is helpful

In Kindness
Stephen Knight
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
suviy
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: March 13, 2007, 04:44:18 AM »

Ok, thank you for advices.  Smiley

I have tried and managed well in editing iwp_home.html, but maybe my guestion wasn't so clear; I meant to ask is it possible to edit own html files when I have published it in iwp. I assume it isn't possible?

- Suvi
Logged
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« Reply #3 on: March 13, 2007, 05:52:32 AM »

Not really, you cannot really pass values to other html forms - I have used IWP to call PHP pages and have them run actions such as sending emails or even uploading files to IWP.  You are limited as to what you can do with IWP as you have automatically generated template pages.

I encourage many people to work with custom web publishing, not only Instant Web publishing.  Many times you reach limitations and work harder trying to find a work around then devejust learning custom web publishing where many of the difficult things with IWP are simple Smiley

But then again, some people truly enjoy the challenge of pushing iwp to its limits, and it is always fascinating to see their innovation and creativity Smiley


In Kindness
Stephen Knight
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
tecnal
Newbie
*
Offline Offline

Posts: 14


« Reply #4 on: February 18, 2008, 06:05:27 AM »

Can you tell me something more about uploading files?
Thanks,

Enrico
Logged
Michael Petrov
Chief Software Developer
Administrator
Hero Member
*****
Offline Offline

Posts: 4286
Kudos: 15522




Applications:
« Reply #5 on: February 18, 2008, 08:13:26 AM »

Hi Enrico,

Uploading files with IWP is not quite what you think (no, you will not get them into the container field, at least not in the straightforward way that you might imagine it). What we had are scripts which use PHP to just put the file on the server hard drive, and if you passed a variable to the PHP script with the record id - then it could also edit the record using the PHP API with the uploaded file name. It won't allow you to upload into container fields and you need to know PHP quite well to implement it. Another option is to use FMStudio with the FMStudio Upload Module to build that page, and then use IWP to link to it in a web viewer - creating this very same uploading interface.

Best Regards,
Michael Petrov
Logged

Michael Petrov,
Chief Software Developer
FMWebschool
800.353.7950
michael@fmwebschool.com
Keep up with our development, follow me on Twitter
tecnal
Newbie
*
Offline Offline

Posts: 14


« Reply #6 on: February 19, 2008, 12:51:05 AM »

Thanks Michael for the answer. The solution with FMStudio and WV is interesting.
I've got FmStudio and modules, but I've had installation problems that now I try to solve.
I love IWP and I want to continue to utilize it, so this "hybrid" solution would be OK.
Maybe I'll need some help to implement the solution.
Just for confirmation: using this method I will be able to send email (with Email module) and upload files (with Upload module) from the web without plugins.


Enrico
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!