July 18, 200124 yr 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
July 18, 200124 yr 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)
July 19, 200124 yr No problem with frames. I am not so sure about Apache talking to the FM via SSI. FM WebCompanion itself is capable of SSI.
July 19, 200124 yr 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
July 20, 200124 yr 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]
July 20, 200124 yr 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
July 24, 200124 yr 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
July 25, 200124 yr 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
July 25, 200124 yr 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
September 17, 200124 yr 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
September 18, 200124 yr 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