Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
SSI on search.cgi pages?

 

 


ScottL
User

Jul 19, 2009, 12:59 PM

Post #1 of 2 (3774 views)
Shortcut
SSI on search.cgi pages? Can't Post

I've read that it's not possible to use SSI on the search pages, and have tried to no avail. I found this info about your Article Manager while searching for a solution and was wondering if it can be applied to Listings/auto manager. I know they are two separate programs, but wonder if there's an add-on or something.


SSI on Dynamic Pages
SSI's will work normally in pages generated as static files. While most programs can't resolve SSI on dynamic pages at all, our template system allows you to code the same SSI in dynamic pages as in your static pages.

The program uses two methods for resolving SSI in dynamic pages. You can change which method you are using in the program settings. "Server-Resolved SSI" will parse any style of include. "SSI Emulation" is compatible with the two most common types of includes, include virtual and include file.

1) Server-Resolved SSI and Scripts
Using this method, any SSI - or even scripts like PHP or ASP - that you can use in your regular pages can be resolved in your dynamic pages. Pages generated dynamically include files the same way your static, published pages do. The program makes this possible by creating a temporary static file, which it then requests on behalf of the web browser, so any SSI's (or server-side code) are resolved in that temporary file.

Any scripting or SSI's are resolved as if the dynamic page had the same extension as your published pages. If necessary, the extension of your files is changed in your program settings.

If your server has a configuration that is incompatible with this method, you can always use the "SSI Emulation" method.

[ Additional technical details... ]

2) SSI Emulation
Using this method, the program will render SSI's in the page, using the same rules that the server follows. This allows your dynamic pages to use the same include virtual tags as pages generated as static files (see Common SSI above).

SSI Emulation fulfils the majority of SSI uses, but since only virtual includes are supported, scripting or advanced SSI commands (such as PHP, ASP, or CGI) will not be rendered in the dynamic pages. To use these types of scripts, you'll need to use the "Server-Resolved SSI" method described above.

Another important note: SSI Emulation will not use the server's password system when your template includes files from protected folders.


Donna
Staff / Moderator


Jul 20, 2009, 5:10 PM

Post #2 of 2 (3688 views)
Shortcut
Re: [thinkng] SSI on search.cgi pages? [In reply to] Can't Post

Hi there,

That only works with Article Manager. Listings Manager does not have the dynamic code parsing ability, and SSI's cannot be run on search pages with Listings Manager.

You may want to take a look at CMS Builder, however -- it works a little differently (it uses PHP instead of Perl) and you can run dynamic code (in PHP) on any page. :)

Donna

--
support@interactivetools.com