Re: contextual shownext
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16382
interpreted = N
texte = > On 2/21/98 3:00 AM, Chris Gursche wrote:> > >I think I might be able to help you, but I don't really understand what> >you want. What do you consider a contextual shownext?> > something like this:> > [search db=my.db&geskudata=0]> [founditems]> [sku][name]
> [/founditems]> (then I want 2 tags that say show previous and next 10 items)> ie> previous 10 next 10> [/search]> > Robert Minor> RobSorry for taking so long to respond. I would try controlling the numberof shownexts through the max parameter in the shownext contextie[shownext position=end&max=1&method=POST]The shownext context surrounds a form which passes all the parameters.In my form I have a submit button with value=Show Items [start]-[end]I haven't tried this, but I assume that it should work to replace thatwith Next [math][end]-[start]-1[/math]I have a shownext context before and after the founditems context. Forthe previous button, simply place position=begin in the context beforethe founditems.Hope it worksChris GurscheEC&T
Associated Messages, from the most recent to the oldest:
> On 2/21/98 3:00 AM, Chris Gursche wrote:> > >I think I might be able to help you, but I don't really understand what> >you want. What do you consider a contextual shownext?> > something like this:> > [search db=my.db&geskudata=0]>
[founditems]> [sku][name]
> [/founditems]> (then I want 2 tags that say show previous and next 10 items)> ie> previous 10 next 10> [/search]> > Robert Minor> RobSorry for taking so long to respond. I would try controlling the numberof shownexts through the max parameter in the shownext contextie[shownext position=end&max=1&method=POST]The shownext context surrounds a form which passes all the parameters.In my form I have a submit button with value=Show Items [start]-[end]I haven't tried this, but I assume that it should work to replace thatwith Next
[math][end]-[start]-1[/math]I have a shownext context before and after the founditems context. Forthe previous button, simply place position=begin in the context beforethe founditems.Hope it worksChris GurscheEC&T
Chris Gursche
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:
RE: Adding a product from another site (1997)
WebCatalog Hosting (1998)
b12 cannot limit records returned and more. (1997)
RE:It just Does't add up!!! (1997)
Re:quit command on NT (1997)
[OT] Hacked IIS/FTP (2002)
Not really WebCat (1997)
[format xs] freeze (1997)
Time Display from Database (1997)
NT Version on IIS 4.0 (1997)
WebCat2: Master Counter snippet (1997)
Quotation Marks in Database (1998)
I can help! (1996)
Summing fields (1997)
[Sum] function? (1997)
WebCatalog for guestbook ? (1997)
Problems appending to database (1997)
Associative lookup style? + bit more (1997)
RE: Include (1998)
WebDelivery downloads alias, not original ? (1997)