
Luke
Staff
/ Moderator

Sep 4, 2002, 3:29 PM
Post #2 of 3
(2167 views)
Shortcut
|
|
Re: [InSite] More Headlines link...
[In reply to]
|
Can't Post
|
|
Hi, When clicking the "more headlines" link, the next batch of articles is output using the search.cgi script. Unfortunately dynamic pages (like that output by search.cgi) can't include standard SSIs. While the search engine doesn't technically support SSIs, it can include other "template" or published files with a special tag. You might notice in some of the templates we use both. One works for the web server and one for the cgi script. Here's an example of a template include: <!-- template include : /artman/publish/headlines_bycat.shtml --> So in your /index/default.html template file you would use both a standard SSI and a template include to include files in the published pages and the pages output by search.cgi, respectively. <!--#include file="$file_headlines_bycat$" --> <!-- template include : $file_headlines_bycat$ --> One other thing, because the file you're including is a PHP file, CGI scripts that output content dynamically (like search.cgi) will not be able to include PHP files and execute them. Only static, published files (like the main article index) will be able to include PHP files. I hope this helps. :) Luke Holzken Product Development
|