Write file

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34280
interpreted = N
texte = Hi there,I'm trying to write a file to make a new admin template, but I can't make the protect and include context, I have it like this:[WriteFile admin_[name]/AdminAdd1.tmpl][include AdminAdd1.txt][/WriteFile]in the AdminAdd1.txt I have: [protect [name]] Add Product [include headadmin.inc]bla bla blaThe problem is that it asks for username and password when it tries to access the AdminAdd1.txt file but in the writen file it do not write the protect context and presents an error in the [include headadmin.inc] context.Any Idea of how to make it work?Thanks. -Rodolfo ------------------------------------------------------------- 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:

    
  1. Write file (Rodolfo de la Garza 2000)
  2. Re: Write file (Christer Olsson 2000)
Hi there,I'm trying to write a file to make a new admin template, but I can't make the protect and include context, I have it like this:[WriteFile admin_[name]/AdminAdd1.tmpl][include AdminAdd1.txt][/WriteFile]in the AdminAdd1.txt I have: [protect [name]] Add Product [include headadmin.inc]bla bla blaThe problem is that it asks for username and password when it tries to access the AdminAdd1.txt file but in the writen file it do not write the protect context and presents an error in the [include headadmin.inc] context.Any Idea of how to make it work?Thanks. -Rodolfo ------------------------------------------------------------- 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/ Rodolfo de la Garza

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:

Practice runs ? (1997) Redirect and passing more than one variable... (2002) [referrer] -truncates at & (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Further on formula.db failure to calculate shipCost (1997) Format of Required fields error message (1997) [WebDNA] Seriously what is wrong here? (2011) WebCatalog can't find database (1997) [math date] with non-US date format (2000) webcat NT (1998) PCS Frames (1997) (OFF TOPIC) System 8.5.1 FINDER ERROR (1999) Quick Replace Question (2003) Shopping Cart w/Multiple Databases (1998) Extended [ConvertChars] (1997) Security Levels... Possible? (2000) NT Processor Woes (2000) Secure Server (1997) [OT] Bad Hard Drive? (2003) Bug Report, maybe (1997)