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.BUT I can't see the page as i would normally see on the website without the [writefile] added a blank screen nothingIs 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:

    
  1. Re: writefile to create static pages (Lester Emo 2003)
  2. Re: writefile to create static pages (dbrooke 2003)
  3. Re: writefile to create static pages (Lester Emo 2003)
  4. Re: writefile to create static pages (Gary Krockover 2003)
  5. Re: writefile to create static pages (Tim Robinson 2003)
  6. Re: writefile to create static pages (Charles Kline 2003)
  7. writefile to create static pages (Lester Emo 2003)
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.BUT I can't see the page as i would normally see on the website without the [writefile] added a blank screen nothingIs 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:

Re:Running 2 two WebCatalog.acgi's (1996) OSX b5 [listvariables] (2000) Running 2 two WebCatalog.acgi's (1996) Dynamic Image Generation (2000) Software & Sites (1998) please unsubscribe me! (2000) date formatting for CC card expiration date check (1998) TCPConnect, Form Post, Template Variable (2003) small hairball -- stuck on [showif] for related db (1998) Changing price for a SLU based on options (size, etc.) (1997) I give up!! (1997) expired beta (1997) RE: Clearing orders and database help! (1997) [ListFiles] & [loop] (1998) RequiredFields template (1997) expired beta (1997) Sort Order on a page search (1997) Popup Menu Options (1998) The evolved Server Configuration Queston (2000) [taxrate] question (1997)