Re: is 'template' a reserved webcat tag?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32138
interpreted = N
texte = This is a case of a completely undocumented tag. I believe that it is a component of the ShowPage command, but I'm not sure. What I do know is that you can put [Template] in a template and it will evaluate to the name of the template. That would indicate to me that Webcatalog is using it somewhere so I would stay away from it as a variable or field name.When I put [template]
[thisURL] in a template on MacOS, I get this: :voiceoftheinternet.com:test2.tpl /voiceoftheinternet.com/test2.tplMike> No problem to change the name of that field, but what do you mean Ken? > I looked at 3 and 4 docs and don't see any param or tag used with > [formvariables] which > makes any reference to template... > ? > > Kenneth Grome wrote: > >>> Any danger in naming a db field template? >>> Nothing I recall from the docs, so I think I am just paranoid, >>> but now is the time to catch these things >>> before I have coded dozens more templates... >> >> Formvariables use template so you should not. >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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. Re: is 'template' a reserved webcat tag? (Mike Davis 2000)
  2. Re: is 'template' a reserved webcat tag? (John Butler 2000)
  3. Re: is 'template' a reserved webcat tag? (Kenneth Grome 2000)
  4. Re: is 'template' a reserved webcat tag? (Kenneth Grome 2000)
  5. is 'template' a reserved webcat tag? (John Butler 2000)
This is a case of a completely undocumented tag. I believe that it is a component of the ShowPage command, but I'm not sure. What I do know is that you can put [Template] in a template and it will evaluate to the name of the template. That would indicate to me that Webcatalog is using it somewhere so I would stay away from it as a variable or field name.When I put [template]
[thisurl] in a template on MacOS, I get this: :voiceoftheinternet.com:test2.tpl /voiceoftheinternet.com/test2.tplMike> No problem to change the name of that field, but what do you mean Ken? > I looked at 3 and 4 docs and don't see any param or tag used with > [formvariables] which > makes any reference to template... > ? > > Kenneth Grome wrote: > >>> Any danger in naming a db field template? >>> Nothing I recall from the docs, so I think I am just paranoid, >>> but now is the time to catch these things >>> before I have coded dozens more templates... >> >> Formvariables use template so you should not. >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Mike Davis

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:

[addlineitems] (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) sBox (2002) Make sure I understand this??? (1997) ConverChars (1999) SiteEdit NewFile.html ? (1997) WebDNA Promo Sound Bite (2003) PCS Frames (1997) Can you do this??? and other stuff (1997) Triggers Suck! (2000) SUBSCRIBE (2000) HTTP header line is too long? (1997) New Plug-in and Type 11 errors (1997) price totals (2003) WebCatalog in the subject line for this list? (2000) Server crash (1997) Interfacing WebMerchant to www.fedex.com (1997) if/then/else in founditems (2001) Using [showif] within [lineitems] [code fragment] (2000) Price written to db as scientific notation??? (1999)