File dates in WebCatalog .tmpl/.inc

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14646
interpreted = N
texte = Hi all,I'm trying to include a files modified date into a WebCatalog file footer1.incMac running WebStar 2.1 and WebCatalog 2.1 MacOS8I am already using WebStar SSI for inclunding modified dates in .html files.WebCatalog is processing all .tmpl files, as these use [include footer1.inc] tags, so I need to be able to process .tmpl files to scan for and insert my modified date!I added a suffix for .tmpl to be handled by the SSI plugin, but it will still not respond with (as you can see I wnat to put the modified date of the database into my footer.incI cannot seem to find how WebCatalog WebDNA tags can do this, so I can keep all code as WebCatalog code and not mix and match it with WebStar SSI code.I'm assuming that because .tmpl files are processed by the WebCatalog suffix mapping before the .tmpl SSI mapping that it will not work. I put the .tmpl SSI suffix before the .tmpl WebCatalog suffix then WebCatalog don't work!What can I do do add the modified date of a file withing a WebCatalog .tmpl or .inc file?Regards, MarkoMarko Bernyk Regards, Marko---------------------------------- Marko Bernyk ---------------------------------- Senior System Engineer Technical Services Conexus Pty Ltd Sydney, Australia e-mail: marko@conexus.com.au http://www.conexus.com.au ---------------------------------- e-mail: marko.bernyk@earthling.net http://www.conexus.com.au/marko/ Associated Messages, from the most recent to the oldest:

    
  1. Re: File dates in WebCatalog .tmpl/.inc (Grant Hulbert 1997)
  2. File dates in WebCatalog .tmpl/.inc (Marko Bernyk 1997)
Hi all,I'm trying to include a files modified date into a WebCatalog file footer1.incMac running WebStar 2.1 and WebCatalog 2.1 MacOS8I am already using WebStar SSI for inclunding modified dates in .html files.WebCatalog is processing all .tmpl files, as these use [include footer1.inc] tags, so I need to be able to process .tmpl files to scan for and insert my modified date!I added a suffix for .tmpl to be handled by the SSI plugin, but it will still not respond with (as you can see I wnat to put the modified date of the database into my footer.incI cannot seem to find how WebCatalog WebDNA tags can do this, so I can keep all code as WebCatalog code and not mix and match it with WebStar SSI code.I'm assuming that because .tmpl files are processed by the WebCatalog suffix mapping before the .tmpl SSI mapping that it will not work. I put the .tmpl SSI suffix before the .tmpl WebCatalog suffix then WebCatalog don't work!What can I do do add the modified date of a file withing a WebCatalog .tmpl or .inc file?Regards, MarkoMarko Bernyk Regards, Marko---------------------------------- Marko Bernyk ---------------------------------- Senior System Engineer Technical Services Conexus Pty Ltd Sydney, Australia e-mail: marko@conexus.com.au http://www.conexus.com.au ---------------------------------- e-mail: marko.bernyk@earthling.net http://www.conexus.com.au/marko/ Marko Bernyk

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Date problems (1997) [WebDNA] Date weirdness (2014) replace problem (1999) Cart questions (1997) self maintaining databases? (1998) Admin Edit prob. (1997) [WebDNA] .html suffix (2014) Webdna sends your serial number on Internet (2003) WebCat Documentation (was [platform] tag?) (1998) OT: IP addres checking (2003) WebCat2 beta FTP site (1997) Counting LineItems (2000) WebCat for mass emailings (1997) foreign languages, email, webcat (1998) Applescript, WebDNA, and PDF (1997) Forms Search Questions (1997) Help SM: Duplicate cart #'s - still! (2003) WebCat2b15MacPlugin - showing [math] (1997) SKU Question (1999) Date search - yes or no (1997)