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 number of 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 that with Next [math][end]-[start]-1[/math]I have a shownext context before and after the founditems context. For the previous button, simply place position=begin in the context before the founditems.Hope it worksChris Gursche EC&T Associated Messages, from the most recent to the oldest:

    
  1. Re: contextual shownext (Chris Gursche 1998)
  2. Re: contextual shownext (Rob Marquardt 1998)
  3. Re: contextual shownext (Bob Minor 1998)
  4. Re: contextual shownext (Chris Gursche 1998)
  5. contextual shownext (bob 1998)
> 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 number of 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 that with Next [math][end]-[start]-1[/math]I have a shownext context before and after the founditems context. For the previous button, simply place position=begin in the context before the founditems.Hope it worksChris Gursche EC&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:

math variable security [VERY LONG] (2000) Help formatting search results w/ table (1997) emailer (1997) Ghostly cached webpage (2000) [isfile] ? (1997) WebCatalog for guestbook ? (1997) db caching in bizarre ways (2001) Processing stops (2006) Sendmail problem on UNIX (2000) upgrading (1997) users.db (1999) More than one db with the same namn (was: WC2f3) (1997) [isfolder] and [filename] (1997) Open Databases on Restart (1999) Error:Too many nested [xxx] contexts (1997) Can WebDNA do this? (2000) WebMerchant when CC network is down (1998) [referrer] tag (1997) WC 4.0 on OSX 10.0.4 problems (2001) Generating Searches on the fly? (1999)