Re: Can this be done?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53278
interpreted = N
texte = This might be what's throwing me. How do I determine when the last item is found and shown on pages that are created with [shownext] and then add something after it? Would I do a total of items found and then somehow incorprate the [end] into it? That might be my entire stumbling block. On an earlier recommendation, my search/results and shownext seem to work fine with our without the startat=1 added. That seem right? ot is it assumed that the results will always startat 1 even if not indicated? --- Tim Robinson wrote: > After the last item is found, the link to the next > page could pass a > variable to be displayed as the date, which is the > [date] plus/minus 1, and > also pass startat=1, then it would look like it was > starting at a new day. > Something like that. > > Tim > > > > From: Lester > > Reply-To: > (WebDNA Talk) > > Date: Sun, 5 Oct 2003 21:39:22 -0700 (PDT) > > To: (WebDNA > Talk) > > Subject: Re: Can this be done? > > > > One option to what I'm trying to do is to show a > > snippet AFTER the last page that's created with > > [shownext] > > > > Anyone ever done that?? Possible?? > > > > Had a phrase, link etc. appear after all the > founbd > > items are shown on that last page? > > > > Doesn't seem like there is any way to place more > code > > within that [shownext] > > > > > > --- Tim Robinson wrote: > >> 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] > >>> Height=18 > >>> Alt=Next [max] Border=0> > >>> >> value="Search"> > >>>
> >>> [/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] > >>> Height=18 > >>> Alt=Next [max] Border=0> > >>> >> value="Search"> > >>>
> >>> [/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!? > === message truncated === __________________________________ 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/ 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)
This might be what's throwing me. How do I determine when the last item is found and shown on pages that are created with [shownext] and then add something after it? Would I do a total of items found and then somehow incorprate the [end] into it? That might be my entire stumbling block. On an earlier recommendation, my search/results and shownext seem to work fine with our without the startat=1 added. That seem right? ot is it assumed that the results will always startat 1 even if not indicated? --- Tim Robinson wrote: > After the last item is found, the link to the next > page could pass a > variable to be displayed as the date, which is the > [date] plus/minus 1, and > also pass startat=1, then it would look like it was > starting at a new day. > Something like that. > > Tim > > > > From: Lester > > Reply-To: > (WebDNA Talk) > > Date: Sun, 5 Oct 2003 21:39:22 -0700 (PDT) > > To: (WebDNA > Talk) > > Subject: Re: Can this be done? > > > > One option to what I'm trying to do is to show a > > snippet AFTER the last page that's created with > > [shownext] > > > > Anyone ever done that?? Possible?? > > > > Had a phrase, link etc. appear after all the > founbd > > items are shown on that last page? > > > > Doesn't seem like there is any way to place more > code > > within that [shownext] > > > > > > --- Tim Robinson wrote: > >> 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] > >>> Height=18 > >>> Alt=Next [max] Border=0> > >>> >> value="Search"> > >>>
> >>> [/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] > >>> Height=18 > >>> Alt=Next [max] Border=0> > >>> >> value="Search"> > >>>
> >>> [/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!? > === message truncated === __________________________________ 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/ Lester

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:

For those of you not on the WebCatalog Beta... (1997) WebCat and PIXO (2000) Help w/Multi User Admins (1997) WebCat2b12--[searchstring] bug (1997) filemaker - orderfile (1997) [isfile] ? (1997) emailer cc to figured out (1997) [OT] html background att (2003) emailer w/F2 (1997) [cart] not being interpreted inside [founditems] (1997) Database changes (1998) WebCat2b15MacPlugin - showing [math] (1997) Call For Entry: Third Annual Business on The Internet (BOTI)Awards (1999) [SearchString] problem with [search] context (1997) Secure server question (1997) Help! WebCat2 bug (1997) Authorize.net, SIM, tcpconnect and applescript (2003) .htaccess to make WebDNA serve HTML (2007) LOOP and IF statements (1997) Summing fields (1997)