Re: show if date < expiry date (small corrections)

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44996
interpreted = N
texte = Doesn't really matter...webDNA gets parsed server-side BEFORE it hits the browser (client). Technically, you could put the [text multi=T...] stuff in the as well if you really wanted. What matters is that you set your variables before executing code that requires them (which you have). Your code will work fine IMHO....sorry to butt in, Donovan ;)-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 On Fri, 08 Nov 2002 14:53:15 +0000 Alan White wrote: >In the head tags of the document? > >> In head: >> [text >> >multi=T]exp_date=[math]{11/09/2002}[/math]&thedate=[math]{[date]}[/math][/te >xt> ] >> > >and in the body tag? > >> in body: >> [showif [thedate]<[exp_date]]onload code[/showif] > >Sorry... I just want to clarify... > > >> >> Donovan >> >> Similiarly, if this is an ongoing feature you can create a banner.db >> and do lookups for the expiration dates, image names etc.. (where >> you can edit in the admin. >> > >Sounds like something to work towards but I'll try and get this working >first. I still haven't got the display of DW4 working nicely with webdna >code despite trying what has been done in the previous posts, I'm a little >worried about the step into broken pages just for the sake of a couple >adverts.. > >We are however about to upgrade to MX... > > > > > >------------------------------------------------------------- >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: show if date < expiry date (small corrections) (Dan Strong 2002)
  2. Re: show if date < expiry date (small corrections) (Donovan 2002)
  3. Re: show if date < expiry date (small corrections) (Dan Strong 2002)
  4. Re: show if date < expiry date (small corrections) (Alan White 2002)
  5. Re: show if date < expiry date (small corrections) (Donovan 2002)
Doesn't really matter...webDNA gets parsed server-side BEFORE it hits the browser (client). Technically, you could put the [text multi=T...] stuff in the as well if you really wanted. What matters is that you set your variables before executing code that requires them (which you have). Your code will work fine IMHO....sorry to butt in, Donovan ;)-Dan ------------------------------------------- http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 On Fri, 08 Nov 2002 14:53:15 +0000 Alan White wrote: >In the head tags of the document? > >> In head: >> [text >> >multi=T]exp_date=[math]{11/09/2002}[/math]&thedate=[math]{[date]}[/math][/te >xt> ] >> > >and in the body tag? > >> in body: >> [showif [thedate]<[exp_date]]onload code[/showif] > >Sorry... I just want to clarify... > > >> >> Donovan >> >> Similiarly, if this is an ongoing feature you can create a banner.db >> and do lookups for the expiration dates, image names etc.. (where >> you can edit in the admin. >> > >Sounds like something to work towards but I'll try and get this working >first. I still haven't got the display of DW4 working nicely with webdna >code despite trying what has been done in the previous posts, I'm a little >worried about the step into broken pages just for the sake of a couple >adverts.. > >We are however about to upgrade to MX... > > > > > >------------------------------------------------------------- >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/ Dan Strong

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:

PSC recommends what date format yr 2000??? (1997) [WebDNA] Grep help - catch all URLs (2010) WebCat2 - Getting to the browser's username/password data (1997) Looking for a Manual (1997) TCPConnect to query for Domain expiration (2000) checkboxes (2000) feature request-- [epoch] (2004) Re:WebMerchant 3.0 for Mac shipping now (1998) Sort Order on a page search (1997) Add message to Order (1997) webdelivery.html and webna (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Archive (Zip, Sit, Tgz) (2004) authenticate (2002) Using Applescript to process WebCatalog functions (1998) Database Updates (1997) Multiple security dbs (1997) Nested tags count question (1997) item sorting (1997) How true is this? (1999)