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 avariable to be displayed as the date, which is the [date] plus/minus 1, andalso 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]>>> >>> [/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]>>> >>> [/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:
After the last item is found, the link to the next page could pass avariable to be displayed as the date, which is the [date] plus/minus 1, andalso 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]>>> >>> [/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]>>> >>> [/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:
Newbie Tax Question (1997)
Running _every_ page through WebCat ? (1997)
[WebDNA] Installation for Linux Dummy.. (2013)
no word on MacAuthorize... (1997)
Closing Databases (1998)
[Sum] function? (1997)
Database files & W2000 (2001)
Exclamation point (1997)
Variables from a long text string (2000)
[WebDNA] test (2008)
email code (1998)
[SearchString] usage (1997)
Logging purchases (1997)
TCP Connect code for SMTP transaction (2004)
Regarding PayPal (was Payments -> Bank Accounts) (2005)
Large databases in WebCat (1997)
WebDNA Solutions ... sorry! (1997)
Looping Search (2006)
Bug Report, maybe (1997)
Bug Report, maybe (1997)