Re: What's New Date

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45291
interpreted = N
texte = Thanks, that was a typo, and when I changed it I brought up a few old past entries. Not the solution . . .What I need is a countdown from today to a week ago day by day . . . . . showing the date and the what's new listing . . . regardless of what I put into my what's new date field.At 04:02 PM 11/14/02 -0600, you wrote: >Not sure if this is the only problem, but noticed: > >&whatsnewdatetype=date > >should be: > >&whatsnewdatAtype=date > >(datatype=date) > >GK > > >| I show various listings in a Whats New column by date for the last 7 days. >| >| In the db admin I sometimes add a future date so an item is considered >| What's New lets say end on of next week 11/22/2002 >| >| How can I prevent these future listings from showing up in the results >| from the code below??? >| >| Everything I've tried failed . . . I always get the future listings with >| the future date heading. >| >| >| >| [search db=admin/sections.db&eqS_RELATEDdatarq=[id]&S_RELATEDsumm=T] >| [founditems] >| >| [!] - - - - - - - - - This Finds My Listings by Date - - - - - - - - - - >| - - [/!] >| [text]lastDate=0[/text] >| >| [search >| >db=admin/products.db&woSECTIONSdatarq=[id]&SECTIONSword=ww&namewbrk=+&eqVisi >bledatarq=T&gewhatsnewdatedatarq=[math >| >date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatetype=date&raTITLEsor >t=2] >| [founditems] >| >| [showif [lastDate]![whatsnewdate]] >| __________
>| [whatsnewdate]
>| [text]lastDate=[whatsnewdate][/text] >| [/showif] >| >|  | target=main>[convertchars][Title][/convertchars]
>| >| [/founditems][/search] >| >| [/founditems][/search] >| >| >| >| >| I know its something in my math and date combo but I keep falling down >when >| I go there. >| >| I've tried >| [text]lastDate=[date][/text] >| way at the top with no change in my results . . . >| >| >| >| thanks >| >| >| lester > > >------------------------------------------------------------- >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: What's New Date (Rob Marquardt 2002)
  2. Re: What's New Date (Gary Krockover 2002)
  3. Re: What's New Date (Glenn Busbin 2002)
  4. Re: What's New Date (Lester Emo 2002)
  5. Re: What's New Date (Gary Krockover 2002)
  6. Re: What's New Date (Gary Krockover 2002)
  7. Re: What's New Date (Lester Emo 2002)
  8. Re: What's New Date (Kenneth Grome 2002)
  9. Re: What's New Date (Lester Emo 2002)
  10. Re: What's New Date (Kenneth Grome 2002)
  11. Re: What's New Date (Rob Marquardt 2002)
  12. Re: What's New Date (Lester Emo 2002)
  13. Re: What's New Date (Lester Emo 2002)
  14. Re: What's New Date (Gary Krockover 2002)
  15. What's New Date (Lester Emo 2002)
Thanks, that was a typo, and when I changed it I brought up a few old past entries. Not the solution . . .What I need is a countdown from today to a week ago day by day . . . . . showing the date and the what's new listing . . . regardless of what I put into my what's new date field.At 04:02 PM 11/14/02 -0600, you wrote: >Not sure if this is the only problem, but noticed: > >&whatsnewdatetype=date > >should be: > >&whatsnewdatAtype=date > >(datatype=date) > >GK > > >| I show various listings in a Whats New column by date for the last 7 days. >| >| In the db admin I sometimes add a future date so an item is considered >| What's New lets say end on of next week 11/22/2002 >| >| How can I prevent these future listings from showing up in the results >| from the code below??? >| >| Everything I've tried failed . . . I always get the future listings with >| the future date heading. >| >| >| >| [search db=admin/sections.db&eqS_RELATEDdatarq=[id]&S_RELATEDsumm=T] >| [founditems] >| >| [!] - - - - - - - - - This Finds My Listings by Date - - - - - - - - - - >| - - [/!] >| [text]lastDate=0[/text] >| >| [search >| >db=admin/products.db&woSECTIONSdatarq=[id]&SECTIONSword=ww&namewbrk=+&eqVisi >bledatarq=T&gewhatsnewdatedatarq=[math >| >date]{[date]}-6[/math]&dewhatsnewdatesort=1&whatsnewdatetype=date&raTITLEsor >t=2] >| [founditems] >| >| [showif [lastDate]![whatsnewdate]] >| __________
>| [whatsnewdate]
>| [text]lastDate=[whatsnewdate][/text] >| [/showif] >| >|  | target=main>[convertchars][Title][/convertchars]
>| >| [/founditems][/search] >| >| [/founditems][/search] >| >| >| >| >| I know its something in my math and date combo but I keep falling down >when >| I go there. >| >| I've tried >| [text]lastDate=[date][/text] >| way at the top with no change in my results . . . >| >| >| >| thanks >| >| >| lester > > >------------------------------------------------------------- >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/ Lester Emo

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:

http upload (2001) Suffix Mapping (1997) Running _every_ page through WebCat ? (1997) PCS Emailer's role ? (1997) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Grep not working, shows [grep] in browser (2000) SiteGaurd file Cache vs webcatalog cache (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) Anyone running WebMerchant 4.0? (2000) Identical [Replace] contexts, different results in different directories? (2000) searchable list archive (1997) Group Updates (1998) Can't Update records (1997) Multiple prices (1997) FW: Shipping calculations (1997) Striping Characters (1998) Re:listfiles-looking for slick solution (1997) WebCatalog can't find database (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) PIXO (1997)