Re: ShowNext example for GeneralStore

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14309
interpreted = N
texte = Grant,After getting ShowNext to work for my hyperlink searches (see earlier post on single link browsing), I discovered that it wasn't working for my keyword search (form submission). OK...you and Ken form searches were harder!!! :-(Question: Does your new ShowNext example for General Store work for *both* hyperlink and form searches??? Or only form searches?If only works for form searches, can we use ShowIf to be able to use both types of searches?!?I currently use both hyperlink and form searches, but might change to hyperlink searches *only* in order to keep nice Previous 1-10 and Next 21-30 links at the bottom of my search results page!Thanks,Dale dstokdyk@dvs.mv.com Grant Hulbert wrote:> I just modified the AdminResults.tmpl to use shownext for both > hyperlinks and form buttons. I did notice that max=N did not seem to > be automated in the case of form buttons, but it's correct for > hyperlinks (easily fixed, but confusing). > > Here's what I did: > > 1) Open AdminResults.tmpl, and paste the following in FRONT of the > table: > [shownext position=begin&max=1&method=POST] >
> [searchstring] > > >
> [/shownext] > > 2) Paste the following AFTER the table: > [shownext position=end&max=1&method=POST] >
> [searchstring] > > >
> [/shownext] > > 3) Enter the GeneralStore admin page and click List All Products > 4) Notice no shownexts appear, because no max=N is provided > 5) Modify URL in browser to add &max=5 to URL > Associated Messages, from the most recent to the oldest:

    
  1. Re: ShowNext example for GeneralStore (Grant Hulbert 1997)
  2. ShowNext example for GeneralStore (Grant Hulbert 1997)
  3. Re: ShowNext example for GeneralStore (Dale Stokdyk 1997)
Grant,After getting ShowNext to work for my hyperlink searches (see earlier post on single link browsing), I discovered that it wasn't working for my keyword search (form submission). OK...you and Ken form searches were harder!!! :-(Question: Does your new ShowNext example for General Store work for *both* hyperlink and form searches??? Or only form searches?If only works for form searches, can we use ShowIf to be able to use both types of searches?!?I currently use both hyperlink and form searches, but might change to hyperlink searches *only* in order to keep nice Previous 1-10 and Next 21-30 links at the bottom of my search results page!Thanks,Dale dstokdyk@dvs.mv.com Grant Hulbert wrote:> I just modified the AdminResults.tmpl to use shownext for both > hyperlinks and form buttons. I did notice that max=N did not seem to > be automated in the case of form buttons, but it's correct for > hyperlinks (easily fixed, but confusing). > > Here's what I did: > > 1) Open AdminResults.tmpl, and paste the following in FRONT of the > table: > [shownext position=begin&max=1&method=POST] >
> [searchstring] > > >
> [/shownext] > > 2) Paste the following AFTER the table: > [shownext position=end&max=1&method=POST] >
> [searchstring] > > >
> [/shownext] > > 3) Enter the GeneralStore admin page and click List All Products > 4) Notice no shownexts appear, because no max=N is provided > 5) Modify URL in browser to add &max=5 to URL > Dale Stokdyk

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:

inventory management (2000) OS X Server & Uploads (2001) Add a field to the error log? (1997) Re:Virtual hosting and webcatNT (1997) WebCatalog can't find database (1997) Possible Bug in 2.0b15.acgi (1997) Configuring E-mail (1997) Loosing Quantity (2000) Max Record length restated as maybe bug (1997) WebCat2 - Getting to the browser's username/password data (1997) japanese characters (1997) Frames and WebCat (1997) make a beep (2004) [SearchString] problem with [search] context (1997) setlineitem quantity to zero? (2000) [WebDNA] WebDNA installers (2014) # fields limited? (1997) Re:quit command on NT (1997) Appendfile memory usage (redux) (2003) Email notification to one of multiple vendors ? (1997)