lunddal Posted July 18, 2001 Posted July 18, 2001 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 JLL
lunddal Posted July 18, 2001 Author Posted July 18, 2001 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)
Anatoli Posted July 19, 2001 Posted July 19, 2001 No problem with frames. I am not so sure about Apache talking to the FM via SSI. FM WebCompanion itself is capable of SSI.
Jeff Spall Posted July 19, 2001 Posted July 19, 2001 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
Anatoli Posted July 20, 2001 Posted July 20, 2001 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]
Jeff Spall Posted July 20, 2001 Posted July 20, 2001 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
Jeff Spall Posted July 24, 2001 Posted July 24, 2001 This kinda strayed from the original question (my fault, but worth it 'cos i now have a new trick to play with !) 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
lunddal Posted July 25, 2001 Author Posted July 25, 2001 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
lunddal Posted July 25, 2001 Author Posted July 25, 2001 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
Newbies dynedwebmaster Posted September 17, 2001 Newbies Posted September 17, 2001 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
Anatoli Posted September 18, 2001 Posted September 18, 2001 If you used the Syntax [FMP-Include: Filename ] and did not see the include file, than your file was not called from FM WebCompanion!
Recommended Posts
This topic is 8466 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now