Re: writefile to create static pages
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50097
interpreted = N
texte = 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.At 12:58 PM 5/7/03, you wrote:>Have you enclosed all the writefile stuff in [raw]listing.tpl stuff[/raw]?>>Regards,>Tim>-->Tim Robinson>IDFK Web Developments>tim@idfk.com.au>114a/40 Yeo Street>Neutral Bay 2089>Australia>Phone +612 9908 2134>Fax +612 9908 4837>> > From: Lester Emo
> > Reply-To: (WebDNA Talk)> > Date: Tue, 06 May 2003 21:51:31> > To: (WebDNA Talk)> > Subject: writefile to create static pages> >> > 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 items> >> > I 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> > nothing> >> > Is 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 shown> >> > Is 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/> >>>>>------------------------------------------------------------->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/-------------------------------------------------------------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 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.At 12:58 PM 5/7/03, you wrote:>Have you enclosed all the writefile stuff in [raw]listing.tpl stuff[/raw]?>>Regards,>Tim>-->Tim Robinson>IDFK Web Developments>tim@idfk.com.au>114a/40 Yeo Street>Neutral Bay 2089>Australia>Phone +612 9908 2134>Fax +612 9908 4837>> > From: Lester Emo > > Reply-To: (WebDNA Talk)> > Date: Tue, 06 May 2003 21:51:31> > To: (WebDNA Talk)> > Subject: writefile to create static pages> >> > 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 items> >> > I 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> > nothing> >> > Is 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 shown> >> > Is 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/> >>>>>------------------------------------------------------------->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/-------------------------------------------------------------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:
Emailer setup (1997)
Authenticate (1997)
HELP WITH DATES (1997)
Comments in db? (1997)
Non HTML file protection - OS X (webstar or apache) (2002)
Looping Search (2006)
Tab Charactor (1997)
[WebDNA] WebDNA 7.0 (2011)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Upgrade to MacOS9 and W*4.1 (1999)
RAM problems, [appendfile] problems (1998)
[ShowIf] if the varieable exists (1998)
emailer (1997)
total number of matches (1999)
Custom WebCat Prefs ... (1997)
New public beta available (1997)
[Q] Novice's question (1997)
emailer w/F2 (1997)
Date calculation problems (1997)
WebCatalog for guestbook ? (1997)