Re: Can this be done?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53277
interpreted = N
texte = 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] >>> >> 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] >>> >> 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!? >>> 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/ > > > __________________________________ > 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)
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] >>> >> 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] >>> >> 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!? >>> 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/ > > > __________________________________ > 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:

WebCommerce Security Alert! (1996) Error handling for accountNum (1997) PARAMETER vs. OPERATOR (was The BUG is BACK ...) (1998) Date Range works (1997) method of payment (1997) Protect (1997) Smart caching problems with 2.1b3? (1997) Virtual hosting and webcatNT (1997) emailer (1997) Search Order? (2000) Share cost of training videos! (1998) Group Updates (1998) Question about replacing words (1998) syntax question, not in online refernce (1997) New Mac Public Beta Available (1997) Redirect / errorfiles and netscape (2001) Wrapping text (1998) Max Record length restated as maybe bug (1997) price carry over (1997) WebCat editing, SiteGuard & SiteEdit (1997)