Re: Founditems context returning only 1 item

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13543
interpreted = N
texte = > I am working on creating a dynamic Whats New page to a web site that > I'm building, and so I have embedded this [search] context into a page > which is processed when a user's browser requests the page. > > The problem that I'm having is that it is only returning 1 item from the > database. Is my search criteria set wrong? Or is there another problem? > > [search db=/nnm/WhatsNew.db&leReleaseDatedata=10/2/97] > [founditems] > [FeaturePath][FeatureFilename] > [/founditems] > [/search] > > Also, while I'm here, what is the best way to make the date parameter in > the above code more dynamic? Can I insert the [date] tag? Will it > process? > > Thanks in advance. > > Best Regards, > > Duane NeedhamUpdate...I was able to get it to work this morning. I believe the Flush Cache feature of the browser interface to WebSTAR may not have been actually flushing the cache last night. (Or maybe I was flushing something else, who knows..:)I also added the [date] tag into this code and it works great. I think with a little more work this may be ready to go.Thanks,Duane Needham Associated Messages, from the most recent to the oldest:

    
  1. Re: Founditems context returning only 1 item (Grant Hulbert 1997)
  2. Re: Founditems context returning only 1 item (Duane Needham 1997)
  3. Founditems context returning only 1 item (Duane Needham 1997)
> I am working on creating a dynamic Whats New page to a web site that > I'm building, and so I have embedded this [search] context into a page > which is processed when a user's browser requests the page. > > The problem that I'm having is that it is only returning 1 item from the > database. Is my search criteria set wrong? Or is there another problem? > > [search db=/nnm/WhatsNew.db&leReleaseDatedata=10/2/97] > [founditems] > [FeaturePath][FeatureFilename] > [/founditems] > [/search] > > Also, while I'm here, what is the best way to make the date parameter in > the above code more dynamic? Can I insert the [date] tag? Will it > process? > > Thanks in advance. > > Best Regards, > > Duane NeedhamUpdate...I was able to get it to work this morning. I believe the Flush Cache feature of the browser interface to WebSTAR may not have been actually flushing the cache last night. (Or maybe I was flushing something else, who knows..:)I also added the [date] tag into this code and it works great. I think with a little more work this may be ready to go.Thanks,Duane Needham Duane Needham

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:

Webmerch Error (1998) Invoice in another window (1998) Robots fill event log (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) format_to_days on NT (1997) Using [Include] Context (1999) More on the email templates (1997) Mac Vs WindowsNT (1997) WEBCAT HIERARCHY (1999) A quickie question (1997) WebCat2.0b15-to many nested [xx] tags (1997) Nested tags count question (1997) searchable list archive (1997) Encrypting WebDNA Templates (1999) Silly Question (1997) WebDNA version? (2007) OT - How to pay commissions to non US affiliates? (2000) Template transformed itself into a database? (1998) [ShowIf] and empty fields (1997) Upgrading old WebCat Database Files (1997)