writefile to create static pages
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50093
interpreted = N
texte = I've hardly used writefile so i may be just doing this all wrong . . .I want to create static pages from a database of stuff that's shown as needed.Content doesn't change that often on this database of itemsI added the following to my listing.tpl page which is the page that is shown to the user in a browser on the live website[Search db=^eg/eg.db&eqSKUdatarq=[ID]][Founditems][writefile [sku].htm]( all the normal listing.tpl page template stuff is here )[/writefile][/Founditems][/Search]this seems to work fine.I get my [sku].htm page written with all the right stuff within it.BUTI can't see the page as i would normally see on the website without the [writefile] addeda blank screennothingIs this not a good way to do this?Have the [writefile] in a live web template?Is that what's causing the listing.tpl template to not be shownIs there a better way to make static pages from a database?IIS and NT and vers. 4.5 is what i'm using . . .thanks-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I've hardly used writefile so i may be just doing this all wrong . . .I want to create static pages from a database of stuff that's shown as needed.Content doesn't change that often on this database of itemsI added the following to my listing.tpl page which is the page that is shown to the user in a browser on the live website[Search db=^eg/eg.db&eqSKUdatarq=[ID]][founditems][writefile [sku].htm]( all the normal listing.tpl page template stuff is here )[/writefile][/Founditems][/Search]this seems to work fine.I get my [sku].htm page written with all the right stuff within it.BUTI can't see the page as i would normally see on the website without the [writefile] addeda blank screennothingIs this not a good way to do this?Have the [writefile] in a live web template?Is that what's causing the listing.tpl template to not be shownIs there a better way to make static pages from a database?IIS and NT and vers. 4.5 is what i'm using . . .thanks-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Lester Emo
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:
suffix mapping for NT? (1997)
[WebDNA] [thisurlplusget] not working (2012)
[WebDNA] Formatting numbers - truncation instead of rounding (2011)
Re:Finding max value for a field (1997)
Emailer error 571 (1998)
Help! WebCat2 bug (1997)
OH MY GOD! (1998)
Separate SSL Server (1997)
[WebDNA] Poll: Cloud hosting (2016)
All questions are welcome on this list (1997)
more ! testing (1997)
HTML editing and webcatalog (2000)
IP Shows Server (2003)
WebCat2b12--[searchstring] bug (1997)
docs for WebCatalog2 (1997)
[WebDNA] [OT] BBEdit Glossary (2012)
OK, here goes... (1997)
E-mailer error codes (1997)
[MATH] and Dates (1998)
Ampersand (1997)