Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi all - I know similar posts have been made. I have gone through them all and tried everything suggested and still have a problem. I am hosting three identical web pages all using different sets of HTML files and different FileMaker databases. The HTML files, including format files are in subfolders of the Web directory in the FileMaker directory. There are three subfolders, one for each of the web pages. The only difference between the HTML files in each of the subfolders is the FileMaker database that they reference in the code. The Filemaker databases are stored outside the FileMaker directory entirely. They are in a directory at the root level.

When one enters the index page for any of the web pages, the filemaker web username and password dialog box appears after which they are taken to another HTML page via a FileMaker command which specifies the format file of index2.html. Here is the code for the screen that logs them in and then takes them to index2.html:

<html><!--test test-->

<head>

<title>Please Login</title>

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=FMPro?-db=Reportmapl.fp5&-lay=data&-format=index2.html&-findany">

</head>

<body background="config/background.jpg">

<div align="center"><img src="config/logo.jpg"><br><br><font size="+4">Welcome to<br>AP Easy<br>Online Reporting</font><br><br>Please wait while we log you in...</div>

<p align="center"><font size="-1">If you encounter an error, <a href="FMPro?-db=Reportmapl.fp5&-lay=data&-format=index2.html&-error=messages/error.html&-findany">click

here to try again</a>, or contact your administrator for assistance.</font></p>

<p align="center"><br><br>

<font size="-2" face="arial">Copyright &copy; 2001 Small Business Computers of New England, Inc.<br><br>The documents to be transmitted contain confidential information belonging to the sender that is legally privileged. The information is intended only for the appropriate recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this transmitted information is strictly prohibited.</font></p>

</html>

My problem is that this is working fine with the first two web pages and I just set up the third and it will not find the index2.html format file.

Any ideas? I have tried just about everything I can think of.

You need the path to the format file in the sub-folder; e.g.:

FMPro?-db=Reportmapl.fp5&-lay=data&-format=subfolder/index2.html&-error=messages/error.html&-findany

Or, if you are going from one sub-folder to another:

FMPro?-db=Reportmapl.fp5&-lay=data&-format=../subfolder/index2.html&-error=messages/error.html&-findany

Hope this helps.

Garry

  • Author

Thanks for the response garrycl!!

I ended up solving the problem. For those of you who may search the FM Forums and come upon this thread, here was my solution:

The index.html file for the web page was in the subdirectory in the Web directory in the FileMaker Pro directory. So, I moved it out to a subdirectory in the Web directory in the Web Server application directory. Previously the index.html file looked like this:

<html>

<head><title>Reporting</title></head>

<script language="JavaScript"> window.open("login.html","my_new_window","toolbar=yes,location=no,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=no,copyhistory=yes,width=800,height=500"); history.go(-1);</script>

</html>

The file login.html was the file that called on the index2.html as a format file. I changed it to this:

<html>

<head><title>Reporting</title></head>

<script language="JavaScript"> window.open("http://www.myhomepage.com:591/subfolder/login.html","my_new_window","toolbar=yes,location=no,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=no,copyhistory=yes,width=800,height=500"); history.go(-1);</script>

</html>

I don't really know why it works. The only thing I can think of is that by pointing this first file through the FileMaker port to the directory with the format files, all other calls on files automatically look in the directory where without this "pointing" it gets lost.

Anyway this worked for my problem and I hope that someone else finds this useful. grin.gif

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.