Re: writefile to create static pages

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50098
interpreted = N
texte = Lester, unless I'm reading something wrong, I believe your writefile philosophy is not quite accurate.You are creating a separate html file for every SKU... In order to view the html file you will have to put html in it.Is it that simple or am I missing something at this late hour?DonovanLester Emo wrote: > I may have phrased my question wrong. > > my live listing.tpl page begins like this . . . . > > [Search db=^eg/eg.db&eqSKUdatarq=[ID]] > [Founditems] > > then i've added this to try and create a static page > as i'm about to show the page and items just found. . . . > [writefile [sku].htm] > > the balance of the listing.tpl page template stuff > appears here as it normally would > > [/writefile] > > > then i end the entire page like normal . . . > > [/Founditems] > [/Search] > > all this is within the listing.tpl page . . . > > i guess what i'm still asking is would the [writefile] entries mess up > everything else where i've just included it in a live page when > everything else is normally happening and being shown.------------------------------------------------------------- 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)
Lester, unless I'm reading something wrong, I believe your writefile philosophy is not quite accurate.You are creating a separate html file for every SKU... In order to view the html file you will have to put html in it.Is it that simple or am I missing something at this late hour?DonovanLester Emo wrote: > I may have phrased my question wrong. > > my live listing.tpl page begins like this . . . . > > [Search db=^eg/eg.db&eqSKUdatarq=[ID]] > [founditems] > > then i've added this to try and create a static page > as i'm about to show the page and items just found. . . . > [writefile [sku].htm] > > the balance of the listing.tpl page template stuff > appears here as it normally would > > [/writefile] > > > then i end the entire page like normal . . . > > [/Founditems] > [/Search] > > all this is within the listing.tpl page . . . > > i guess what i'm still asking is would the [writefile] entries mess up > everything else where i've just included it in a live page when > everything else is normally happening and being shown.------------------------------------------------------------- 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/ dbrooke

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:

[quantity] within formulas (1997) WebCat2b15MacPlugin - [protect] (1997) Mobile Phone "mailto:" (2008) A link and two command (1998) still having shipCost.db Problem (1997) SetCookie / GetCookie Problem.... (2004) Secure Sever and showcart errors (1997) I'm Baaaaaaaaaack - Questions! (2000) Bay Area Residents / Bay To Breakers (1998) WebCat2.0 [format thousands .0f] no go (1997) [url] (1997) Date search - yes or no (1997) DB Field Name? (2000) RE: Nesting [ListFiles] (1998) cart number tracking (1998) Silly Question (1997) Re:quit command on NT (1997) [date format] w/in sendmail (1997) Cart Numbers (1997) searching multiple databases in single search (1997)