Re: Can this be done?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53274
interpreted = N
texte = I don't know about the displaying different days, that seems to be a problem in itself. But for the search and shownext, that's all wrong. The search context needs to have &startat=[startat] [Search neuniqueIDdatarq=zzzz&eqcategorydatarq=Art[!] [/!]&eqvisibledatarq=Yes&Levelsort=1[!] [/!]&Levelsdir=as&uniqueIDsort=2[!] [/!]&uniqueIDsdir=ra&max=25&db=gallery.db[!] [/!]&startat=[startat]] The shownext has to have a new startat value. [ShowNext] Show items [start]-[end]
[/ShowNext] Don't know about the displaying days business... you're wanting to pretend that they're database entries when they're not. Maybe get this working first... Regards, Tim > [ShowNext position=end&method=post&max=1] >
> [searchstring] > Alt=Next [max] Border=0> > >
> [/ShowNext] > [/Search] > From: Lester > Reply-To: (WebDNA Talk) > Date: Sun, 5 Oct 2003 21:14:44 -0700 (PDT) > To: (WebDNA Talk) > Subject: Can this be done? > > A bunch of stuff I've tried doesn't achieve what I > want . . . and I'm starting to think its not possible. > > Here's the scenario. > > > Database has up to 100 items. > All 100 or so items are always shown and today's date > is placed in front of each item, showing one item per > line. > > 25 items per page is the max per page until all are > shown. > > Simple enough. > > The following works perfectly: > > > [Search > neuniqueIDdatarq=zzzz&eqcategorydatarq=Art&eqvisibledatarq=Yes&Levelsort=1&Lev > elsdir=as&uniqueIDsort=2&uniqueIDsdir=ra&max=25&db=gallery.db] > [Founditems] > [date format=%m/%d] target="_blank">[description]
> [/Founditems] > >
> > [ShowNext position=end&method=post&max=1] >
> [searchstring] > Alt=Next [max] Border=0> > >
> [/ShowNext] > [/Search] > > > BUT > > After the otems are shown with todays date, I need to > duplicate ALL the items, and show them with yesterdays > date, the date before that, the date before that etc, > up to 7 days total. > > These 100 items may then look like 700 items with > different dates in front of each, all arranged by date > of course/ > > > It doesn't seem like I can do this because of the > [shownext] and the max within it. > > After I show 4 pages with 25 items and today's date, > I'd need to show another 4 pages with 25 items and > yesterdays date etc etc > > But this all needs to appear seamless, so if one > category has 70 items instead of 100 the cycle > continues after 70 etc. > > The [shownext] is where I get stuck and what I want > fails. Right now I get my max of 25 per page, but I > can't seem to get the duplicating to happen after the > 4th page etc. > > Is what I'm trying to do even possible??? > > I'm starting to think it's not. > > I'm using 4.5 on NT > > > Thanks, and hope what I'm trying to do makes sense. > > lester > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.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/ ------------------------------------------------------------- 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:

    
  1. Re: Can this be done? ( "Jesse Crofoot" 2004)
  2. Re: Can this be done? ( Joe D'Andrea 2004)
  3. Re: Can this be done? ( charles kline 2004)
  4. Can this be done? ( "Jesse Crofoot" 2004)
  5. Re: Can this be done? ( Lester 2003)
  6. Re: Can this be done? ( Kenneth Grome 2003)
  7. Re: Can this be done? ( Gary Krockover 2003)
  8. Re: Can this be done? ( Lester 2003)
  9. Re: Can this be done? ( Kenneth Grome 2003)
  10. Re: Can this be done? ( Donovan Brooke 2003)
  11. Re: Can this be done? ( Lester 2003)
  12. Re: Can this be done? ( Tim Robinson 2003)
  13. Re: Can this be done? ( Tim Robinson 2003)
  14. Re: Can this be done? ( Lester 2003)
  15. Re: Can this be done? ( Tim Robinson 2003)
  16. Can this be done? ( Lester 2003)
  17. Re: Can this be done? (Kenneth Grome 1997)
  18. Re: Can this be done? (Grant Hulbert 1997)
I don't know about the displaying different days, that seems to be a problem in itself. But for the search and shownext, that's all wrong. The search context needs to have &startat=[startat] [Search neuniqueIDdatarq=zzzz&eqcategorydatarq=Art[!] [/!]&eqvisibledatarq=Yes&Levelsort=1[!] [/!]&Levelsdir=as&uniqueIDsort=2[!] [/!]&uniqueIDsdir=ra&max=25&db=gallery.db[!] [/!]&startat=[startat]] The shownext has to have a new startat value. [shownext] Show items [start]-[end]
[/ShowNext] Don't know about the displaying days business... you're wanting to pretend that they're database entries when they're not. Maybe get this working first... Regards, Tim > [ShowNext position=end&method=post&max=1] >
> [searchstring] > Alt=Next [max] Border=0> > >
> [/ShowNext] > [/Search] > From: Lester > Reply-To: (WebDNA Talk) > Date: Sun, 5 Oct 2003 21:14:44 -0700 (PDT) > To: (WebDNA Talk) > Subject: Can this be done? > > A bunch of stuff I've tried doesn't achieve what I > want . . . and I'm starting to think its not possible. > > Here's the scenario. > > > Database has up to 100 items. > All 100 or so items are always shown and today's date > is placed in front of each item, showing one item per > line. > > 25 items per page is the max per page until all are > shown. > > Simple enough. > > The following works perfectly: > > > [Search > neuniqueIDdatarq=zzzz&eqcategorydatarq=Art&eqvisibledatarq=Yes&Levelsort=1&Lev > elsdir=as&uniqueIDsort=2&uniqueIDsdir=ra&max=25&db=gallery.db] > [founditems] > [date format=%m/%d] target="_blank">[description]
> [/Founditems] > >
> > [ShowNext position=end&method=post&max=1] >
> [searchstring] > Alt=Next [max] Border=0> > >
> [/ShowNext] > [/Search] > > > BUT > > After the otems are shown with todays date, I need to > duplicate ALL the items, and show them with yesterdays > date, the date before that, the date before that etc, > up to 7 days total. > > These 100 items may then look like 700 items with > different dates in front of each, all arranged by date > of course/ > > > It doesn't seem like I can do this because of the > [shownext] and the max within it. > > After I show 4 pages with 25 items and today's date, > I'd need to show another 4 pages with 25 items and > yesterdays date etc etc > > But this all needs to appear seamless, so if one > category has 70 items instead of 100 the cycle > continues after 70 etc. > > The [shownext] is where I get stuck and what I want > fails. Right now I get my max of 25 per page, but I > can't seem to get the duplicating to happen after the > 4th page etc. > > Is what I'm trying to do even possible??? > > I'm starting to think it's not. > > I'm using 4.5 on NT > > > Thanks, and hope what I'm trying to do makes sense. > > lester > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.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/ ------------------------------------------------------------- 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/ Tim Robinson

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:

FW: Shipping calculations (1997) encrypted database (2004) WebDNA's future and yours ... (2006) WebCatalog for Postcards ? (1997) Using Cookie for client specific info? (1997) File Format Validation (2005) WebCat2b12 - nesting [tags] (1997) off topic (1999) Error:Too many nested [xxx] contexts (1997) Database Fields (1997) Need Sample Template - just purchased (1997) FREE Web Server Monitor FREE (1997) Search Command, multiple dbs, etc. --still confused (2000) [carts] and databases (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Webcat 2.0.1 date math bug -> Crash! (1997) strange [date] behavior (2001) ShowNext problems (1998) New user...how do I create URLs from form fields? (2000) Email Set-Up? (1997)