Re: What's New Date
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45296
interpreted = N
texte = Got it to behave by adding another [hideif][/hideif] to the founditems.thanks for the tipsAt 04:29 PM 11/14/02 -0600, you wrote:>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/-------------------------------------------------------------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:
Got it to behave by adding another [hideif][/hideif] to the founditems.thanks for the tipsAt 04:29 PM 11/14/02 -0600, you wrote:>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/-------------------------------------------------------------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:
Bug? (1997)
Help! WebCat2 bug (1997)
Help name our technology! (1997)
b18 problem on NT 4.0 (1997)
Bug? (1997)
New user...how do I create URLs from form fields? (2000)
UPS (2003)
FORMS: Returning a specific page (1997)
Limiting [FoundItems] (2000)
Createfolder OSX WC3.08 (2001)
how to add to triggers.db (1998)
suffix mapping for NT? (1997)
WebCatalog can't find database (1997)
View order not right (1997)
international time (1997)
Cybersource and WebCat ... again (2000)
Alternative To WebDNA? (2006)
EIMS Problems (1997)
WebCatalog complains that the service is not running. (1998)
[isfile] ? (1997)