Forum Moderators: coopster & phranque

Message Too Old, No Replies

Layer Table In SSI

Layer Table In SSI

         

bekyed

10:49 am on Mar 30, 2004 (gmt 0)

10+ Year Member



Hi,

Can you please advise. We have a number of pages in our website which contain a layer in which there is a table of gifs and links.
Is it possible to put this on the server side so that we only have to update once.

Bek.

Moby_Dim

11:20 am on Mar 30, 2004 (gmt 0)

10+ Year Member



Put the piece of code in some file (e.g. thecode.txt), then replace this code in your pages with :

<!--#include virtual="./thecode.txt" -->

should work.

bekyed

11:04 am on Mar 31, 2004 (gmt 0)

10+ Year Member



Thank you,
where do put this file exactly? Is there a specific path on the server where this file needs to live.

Bek.

Moby_Dim

11:38 am on Mar 31, 2004 (gmt 0)

10+ Year Member



./ means the same directory with the file containing this SSI directive

Moby_Dim

11:41 am on Mar 31, 2004 (gmt 0)

10+ Year Member



and make sure that the handler for the page type is enabled.

bekyed

12:14 pm on Mar 31, 2004 (gmt 0)

10+ Year Member



handler for the page type is enabled?
Please explain.

Sorry to be thick!

Bek

Moby_Dim

1:27 pm on Mar 31, 2004 (gmt 0)

10+ Year Member



Do you have access to control panel? Find there "Apache handlers" or something alike. Or just use .htaccess file. Add the line :

AddHandler server-parsed .html

(if you use .html extension)

bekyed

3:06 pm on Apr 1, 2004 (gmt 0)

10+ Year Member



thanks.

Bek