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.

FileMaker and SSI

Featured Replies

I have an Apache server and FileMaker Unlimited with Web Server Connector, and I would like to know if this is possible:

I would like to have a front page on the web server that is built up from several .html files using Server Side Includes and on that page I want to have a Recent News list with data from the FileMaker database.

Please help me smile.gif" border="0

JLL

  • Author

quote:

Originally posted by Anatoli:

No problem with frames.

I am not so sure about Apache talking to the FM via SSI.

FM WebCompanion itself is capable of SSI.

Sorry for the post in the other thread.

The purpose of Web Server Connector is to let Apache (or another web server)

No problem with frames.

I am not so sure about Apache talking to the FM via SSI.

FM WebCompanion itself is capable of SSI.

Hi Anatoli:

quote:

FM WebCompanion itself is capable of SSI.

*******! i didn't know that

Could i have been just using

<!--#include virtual="header.txt-->

instead of keeping all my pages up to date?:

regards, Jeff

Jeff,

the syntax is:

[FMP-Include]

What it does

[FMP-Include] is replaced with the contents of another file, usually an HTML format file.

Syntax

[FMP-Include: Filename ]

Parameter(s)

First parameter: Name of the file to include.

Syntax example(s)

Include a file using an HTML file

[FMP-If: CurrentError .eq. 509]

[FMP-Include: requirefield.htm]

[FMP-Else]

[FMP-Include: othererror.htm]

[/FMP-If]

boy am i DUMB!

I've been using FMP-Include as part of an 'If" for ages.

Never occurred to me it would work on its own!!!!!!!!!!!!!!

thanks, Jeff

Any time cool.gif" border="0

This kinda strayed from the original question (my fault, but worth it 'cos i now have a new trick to play with tongue.gif" border="0 !)

If you have a webserver that understands the standard unix ssi commands and their extensions, you could embed the Filemaker data into the home page using a <webinclude> tag which calls a remote url into the page, but it must be a separate server - it won't work on the same host, even with two different ip addresses.

so a line in the default page could be:

<webinclude

url='http://myfilemakerserver.com/datafolder/FMPro?-&stuff-&stuff-&stuff'>

which could embed the Filemaker data and html

regards, Jeff

  • Author

Thanks! I'll try, but at the moment FM is on the same server as the web server, so I'll have to find another machine.

Regards,

JLL

  • Author

Now I've tried, but I can't get it to work.

I know that WebSTAR has a SSI-WebInclude module, but I'm using Apache and the command does not work in Apache, or am I missing something here?

Regards

JLL

  • 1 month later...
  • Newbies

I tried doing a [FMP-Include: ] and it doesn't work.

The entire syntax I used is:

[FMP-Include: loginH.html]

Does this need to be part of the results page of a query? Can't I just use it by itself?

When I do this, I just get the tag displayed on the screen just as it is in the HTML.

I'm using FileMaker Pro 5.0v1

If you used the Syntax [FMP-Include: Filename ] and did not see the include file, than your file was not called from FM WebCompanion!

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.