Re: Function basic question
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67304
interpreted = N
texte = Correct. And if you want to have this cookie1year tag availableeverywhere then put your function into the PreParse Script section andyou are set.NitaiTerry Wilson wrote:> I am interested in making use of the Function feature. I'd like to> define a few tags that will be at the ready when I need them. As I> understand it, a function can be like setting a text variable that's> always available anywhere. Is this correct...>> [function name=cookie1year][format days_to_date %A,> %d-%b-%Y][math]{[date]}+{00/00/0001}[/math][/format] [math> time]{[time]}+{05:00:00}[showif [date> %Z]=EDT]-{01:00:00}[/showif][/math] GMT[/function]>> ...then when setting a cookie, [cookie1year] will insert the above> rendered text where I need it? And it will freshly interpret the date> and time tags each time?>> Thanks,> Terry-- eBusines Suites simplified.eContentPark - Enterprise Digital Asset Management free of chargeeServices - The complete SupportSuiteeSurvey - Online Questionnaire made easyRedakto CMS - Content Management that simply worksComputerOil® AGNeugutstrasse 668600 Dübendorf / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.comhttp://econtentpark.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:
Correct. And if you want to have this cookie1year tag availableeverywhere then put your function into the PreParse Script section andyou are set.NitaiTerry Wilson wrote:> I am interested in making use of the Function feature. I'd like to> define a few tags that will be at the ready when I need them. As I> understand it, a function can be like setting a text variable that's> always available anywhere. Is this correct...>> [function name=cookie1year][format days_to_date %A,> %d-%b-%Y][math]{[date]}+{00/00/0001}[/math][/format] [math> time]{[time]}+{05:00:00}[showif [date> %Z]=EDT]-{01:00:00}[/showif][/math] GMT[/function]>> ...then when setting a cookie, [cookie1year] will insert the above> rendered text where I need it? And it will freshly interpret the date> and time tags each time?>> Thanks,> Terry-- eBusines Suites simplified.eContentPark - Enterprise Digital Asset Management free of chargeeServices - The complete SupportSuiteeSurvey - Online Questionnaire made easyRedakto CMS - Content Management that simply worksComputerOil® AGNeugutstrasse 668600 Dübendorf / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.comhttp://econtentpark.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/
"Nitai @ ComputerOil"
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:
Re:Help name our technology! (1997)
Creating a back button (1999)
serial number (1998)
NT [delete] (1998)
Emailer (1997)
printing twice? and fix (1997)
WebCat2 several catalogs? (1997)
date format (another question) (2000)
Alternating colors (1997)
WebMerchant 1.6 and SHTML (1997)
Progress !! WAS: Trouble with formula.db (1997)
show if date < expiry date (2002)
Quotation Marks in Database (1998)
off topic fetch vs PCS photomaster (1997)
Re[2]: when is failing to [URL]ize values in a comparison ri (1999)
WebCatalog NT beta 18 now available (1997)
PIXO support (1997)
WriteFile and returns... (2000)
Parse question (2005)
Setting up shop (1997)