Re: Repost paging through results detail view
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49190
interpreted = N
texte = Sounds like a good starting point.ThanksKMOn Friday, April 4, 2003, at 02:06 pm, Charles Kline wrote:> Just sort of thinking along here...>> Using shownext you can page through your recordset in groups of > however many you want by setting MAX=N in your query . When you click > on the thumbnail to see the larger image, you need to pass on the > current position in the result set (which you can get from shownext) > to the next page, so that when you click on the 'next' link from the > detail, it knows where to start in the query - you pass that number as > the value for startat=? in your query on the next page. You can also > change the value of MAX to 1 for the details and 9 or whatever your > layout is for the tumbnail. It might even be smooth to have this > handled by one page and just pass a variable to the display section of > code that tells the page to show the detail 1 up or the thumbnails 9? > up...>> HTH> - Charles>>>>> On Friday, April 4, 2003, at 04:03 PM, kmac wrote:>>> Hey group if anyone has ideas on this that would be>> great.>>>> Thanks>>>> KM>>>> On Wednesday, April 2, 2003, at 03:06 pm, kmac wrote:>>>>> Hi folks, this is probably simple,but I haven't done any webDNA for >>> quite some time. I have an image gallery that gives a small >>> thumbnail on a results page then click detail for a larger thumb and >>> info > detail.>>>>>> At this point I would like the user to be able to browse at the next >>> result on the larger thumb detail page so they can just page through >>> the details of the original results without having to return to the >>> results page with the small thumbnails.>>>>>> Do I just get the the search formvariables to a shownext on that >>> page and if so what's the easiest method.>>>>>> Results page:>>> [search db=eparchive.db&[search_string][hideif >>> [Date_Range]=F]&rnEventDatedatarq=[format days_to_date >>> %Y%m%d][from_date][/format] [format days_to_date >>> %Y%m%d][to_date][/format]&EventDatetype=num[/hideif][hideif >>> [RDate_Range]=F]&rnRun_Datedatarq=[Rfrom_date] >>> [Rto_date]&Run_Datetype=date[/ >>> hideif][!]&[sort]sort=1&[sort]sdir=de[/!]]>>>>>> Detail page link:>>>
>> href=eparchive.tpl?catid=detail&capturedate=[url][capturedate][/ >>> url]>DETAILS>>>>>> Details page Search:>>> [search db=eparchive.db&eqcapturedatedata=[url][capturedate][/url]]>>>>>> TIA>>> -------------------------------------------------------->>> Cheers!>>>>>> Ken MacMurchy>>> web developer>>> ken.macmurchy@leaderpost.com>>> http://www.leaderpost.com/>>> 1964 Park St.>>> Regina, SK, Canada>>> S4P 3G4>>> 306-565-7402>>>>>> ------------------------------------------------------------->> 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/>-------------------------------------------------------------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:
Sounds like a good starting point.ThanksKMOn Friday, April 4, 2003, at 02:06 pm, Charles Kline wrote:> Just sort of thinking along here...>> Using shownext you can page through your recordset in groups of > however many you want by setting MAX=N in your query . When you click > on the thumbnail to see the larger image, you need to pass on the > current position in the result set (which you can get from shownext) > to the next page, so that when you click on the 'next' link from the > detail, it knows where to start in the query - you pass that number as > the value for startat=? in your query on the next page. You can also > change the value of MAX to 1 for the details and 9 or whatever your > layout is for the tumbnail. It might even be smooth to have this > handled by one page and just pass a variable to the display section of > code that tells the page to show the detail 1 up or the thumbnails 9? > up...>> HTH> - Charles>>>>> On Friday, April 4, 2003, at 04:03 PM, kmac wrote:>>> Hey group if anyone has ideas on this that would be>> great.>>>> Thanks>>>> KM>>>> On Wednesday, April 2, 2003, at 03:06 pm, kmac wrote:>>>>> Hi folks, this is probably simple,but I haven't done any webDNA for >>> quite some time. I have an image gallery that gives a small >>> thumbnail on a results page then click detail for a larger thumb and >>> info > detail.>>>>>> At this point I would like the user to be able to browse at the next >>> result on the larger thumb detail page so they can just page through >>> the details of the original results without having to return to the >>> results page with the small thumbnails.>>>>>> Do I just get the the search formvariables to a shownext on that >>> page and if so what's the easiest method.>>>>>> Results page:>>> [search db=eparchive.db&[search_string][hideif >>> [Date_Range]=F]&rnEventDatedatarq=[format days_to_date >>> %Y%m%d][from_date][/format] [format days_to_date >>> %Y%m%d][to_date][/format]&EventDatetype=num[/hideif][hideif >>> [RDate_Range]=F]&rnRun_Datedatarq=[Rfrom_date] >>> [Rto_date]&Run_Datetype=date[/ >>> hideif][!]&[sort]sort=1&[sort]sdir=de[/!]]>>>>>> Detail page link:>>> >> href=eparchive.tpl?catid=detail&capturedate=[url][capturedate][/ >>> url]>DETAILS>>>>>> Details page Search:>>> [search db=eparchive.db&eqcapturedatedata=[url][capturedate][/url]]>>>>>> TIA>>> -------------------------------------------------------->>> Cheers!>>>>>> Ken MacMurchy>>> web developer>>> ken.macmurchy@leaderpost.com>>> http://www.leaderpost.com/>>> 1964 Park St.>>> Regina, SK, Canada>>> S4P 3G4>>> 306-565-7402>>>>>> ------------------------------------------------------------->> 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/>-------------------------------------------------------------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/
kmac
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:
[WebDNA] Test (2008)
WebCat2b12plugin - [search] is broken ... not! (1997)
emailer on Windows Beta 18 (1997)
Search in 2 or more catalogs (1997)
add line item context and showitems (1998)
Generating Report Totals (1997)
New index for docs (1997)
Whats wrong with this code? (1998)
converchars in sendmail context.... (2004)
Problems passing [SKU] with $Replace in 2.0 (1997)
Email within tmpl ? (1997)
Math (1997)
Searching for all records (1998)
Grep and <> (2005)
RE: Unexceling (was I need a smart quote...) (1999)
WebCatalog dying in NT (1998)
Listfiles context (2000)
multi-paragraph fields (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
Is this possible, WebCat2.0 and checkboxes (1997)