I run Mole Ends automated order download software (and very good it is too, thankyou Jan), and wanted to show when the catalog had been updated. After a bit of head scratching, I came up with a simple SSI entry on my pages, which returns the date that A000.cat file was updated.
I set is as a custom variable:
Last_updated
and set the variable as follows:
<!--#config timefmt="%e %B %Y" -->
<!--#flastmod virtual="/acatalog/A000.cat" -->
the var is called using:
CUSTOMVAR:LAST_UPDATED in the template where I want to show the info.
Whenever an order is downloaded, and Jans software does an upload to show changed stock levels, the A000.cat file is also uploaded as standard. Thus the SSI shows the date of the last timet he catalog was updated!
The only other thing to do was to set my webspace to allow .html files to run SSI's - note that some sites might only allow .shtml pages to run SSI's
Well, hope thats of some use!
Andy
I set is as a custom variable:
Last_updated
and set the variable as follows:
<!--#config timefmt="%e %B %Y" -->
<!--#flastmod virtual="/acatalog/A000.cat" -->
the var is called using:
CUSTOMVAR:LAST_UPDATED in the template where I want to show the info.
Whenever an order is downloaded, and Jans software does an upload to show changed stock levels, the A000.cat file is also uploaded as standard. Thus the SSI shows the date of the last timet he catalog was updated!
The only other thing to do was to set my webspace to allow .html files to run SSI's - note that some sites might only allow .shtml pages to run SSI's
Well, hope thats of some use!
Andy