Writefile, Raw & include
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43195
interpreted = N
texte = I'm creating a system where you can upload a master template that has asingle webcat tag in it [body]Then I want to take that template, and create several HTML files, withdifferent content in [body]This code is inside a listwords:[writefile file=./[word]][include file=mastertemplate&body=[raw][includefile=^nwmls/action.inc][/raw][/writefile]Works.But, this code:[writefile file=./[word]][include file=mastertemplate&body=[raw][includefile=^nwmls/action.inc[/raw]&domain=[domain]][/writefile]Writes out a file whose content isError: the 'INCLUDE' context requires that you specify a include fileUm, why is it trying to figure out the include file inside a raw tag?-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Glenn Busbin 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Gary Krockover 2002)
- Re: Writefile, Raw & include (Michael Davis 2002)
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Glenn Busbin 2002)
- Writefile, Raw & include (Aaron Lynch 2002)
|
I'm creating a system where you can upload a master template that has asingle webcat tag in it [body]Then I want to take that template, and create several HTML files, withdifferent content in [body]This code is inside a listwords:[writefile file=./[word]][include file=mastertemplate&body=[raw][includefile=^nwmls/action.inc][/raw][/writefile]Works.But, this code:[writefile file=./[word]][include file=mastertemplate&body=[raw][includefile=^nwmls/action.inc[/raw]&domain=[domain]][/writefile]Writes out a file whose content isError: the 'INCLUDE' context requires that you specify a include fileUm, why is it trying to figure out the include file inside a raw tag?-------------------------------------------------------------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://search.smithmicro.com/
Aaron Lynch
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:
insecuretextvars preference doesn't work (2000)
my price won't move (1997)
[WebDNA] hideif within a search (2009)
Bug Report, maybe (1997)
Looking for 24x7 ISP for WebCatalog (1998)
Signal Raised Error (1997)
Almost a there but..bye bye NetCloak (1997)
Read and Write (2001)
what include am I using! (2005)
[WebDNA] WebDNA Crashing or Not **YES** (2008)
Running _every_ page through WebCat ? (1997)
Stay on Products page (2003)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
Gil's in the lead (1999)
Hiding HTML and breaking the page (1997)
ShowNext (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Founditems context returning only 1 item (1997)
MY SOLUTION.... Send massmail (2000)
Creating a folder with WebCat? (2000)