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:

WCS Newbie question (1997) RE: Purchased cart being overwritten - still !?? (1997) Generating unique SKU from [cart] (1997) [WriteFile] problems (1997) Exclamation point (1997) Nested tags count question (1997) PCS Frames (1997) [returnraw] and form variables (1998) Cookie woes with Mac IE4 (1998) Smart caching problems with 2.1b3? (1997) WebCat and AppleShare 6.0 (1998) [defined]ish (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) Secure Web Server (1999) save & character in db (2005) New Plug-in and Type 11 errors (1997) Databases inside [SHOWIF] (1998) many-to-one problem (1998) What abobut variables named max ??? (2000)