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:

searching for items that begin with a number (2004) Accented chars and emailer (1998) PCS Frames (1997) BUG in [showif] using ^ (contains) (1997) WebDNA 6 and IIS 5.0 HTTP Compression (2004) Setting up shop (1997) Occasional crashes with $remove (1997) MultiGroupChecker (2000) Date Calulation (1997) using showpage and showcart commands (1996) hideif [x]=1,2,3.. (2003) Desperatly seeking (2000) Shopping cart not being assigned (1999) Exclamation point (1997) re:check boxes (1997) self maintaining databases? (1998) question: webmerchant connection (1997) numeric sorting (2000) Weird Math and SV (1997) PCS Frames (1997)