February 16, 200520 yr I have a home page that contains links to FM databases published through IWP in FM Server 7 Adv. When users click "Logout" or "Cancel" on the logon window they are automatically redirected to the default iwp page. Is there a way to change that? Right now to return to that home page they have to start all over again and it is really a pain. Thank you very much!
February 17, 200520 yr I believe you can edit the IWP homepage, you would just have to locate it in your FM folder, turn it into a redirection page. So yes, they see it, but then in 1 sec it sends them straight back to your home page.
February 21, 200520 yr Author I am new to FMSA 7. Could you tell me where I should look for that page? So far I found only the default error page in on of the Library/FileMaker Server 7/... folders. Thank you very much!
March 1, 200520 yr The FileMaker IWP home page is located at: filemakerpro7/extensions/websupport/resource/iwpres/iwp_home.html You can rename the iwp_home.html to iwp_home_old.html and build a new page named iwp_home.html that redirects you back to wherever you want.
October 6, 201114 yr With IWP, whenever you click the Cancel button on the login page or execute an 'Exit Application' script command, FM loads the 'iwp_home.html' page. By default this displays a directory of all available FM databases. If you want the browser to go somewhere else when the user clicks Cancel/Exit App, you can simply replace the default 'iwp_home.html page with a page that does a redirect. So.. make an html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>My Web Site</title> </head> <body> <p>Redirecting please wait...</p> <script type="text/javascript">window.location="http://www.mywebsite.com/"</script> </body> </html> Just replace the URL above with the location you want the user to go. Then save in a text file named 'iwp_home.html' and replace the existing file located at: C:\Program Files (x86)\FileMaker\FileMaker Server\Web Publishing\publishing-engine\wpc\Resources\iwpres\iwp_home.html You may want to rename the existing file 'OLD' so that you can revert.
October 6, 201114 yr Not sure what prompted you to respond to a 6-year old thread, but thanks for posting some useful info. :exactly:
October 11, 201114 yr One more thing on this issue... There is an error in the Javascript code of the sample HTML page above. The <script> tag should read as follows: <script type="text/javascript">top.location="http://www.mywebsite.com/"</script> Because FM IWP uses frames, to properly redirect to your custom URL you must reference the 'top' object for the redirect (not the 'window' object). Whenever a frameset is loaded into the main window a frame tree is created which sort of takes the place of the normal 'window' object. This new object is called 'top' in the DOM. And yes.. I did realize that this was a pretty old post. I had to solve this problem the other day and could not find a solution. So thought I'd write it down for future reference. Cheers!
October 11, 201114 yr To make sure I can find this discussion again easily: This topic has been moved from "FileMaker and WEB 2.0 Technology → Publishing FileMaker Online → Using FileMaker Online" to "FileMaker and WEB 2.0 Technology → Publishing FileMaker Online → Instant Web Publishing [iWP]".
Create an account or sign in to comment