Re: StartAT and shownext

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34814
interpreted = N
texte = StartAt is really a function of search, not shownext, although they work together. It is, suprisingly, still undocumented after all these years. If you use ShowNext, it will create a [SearchString] which will return all the records in each chunk of [max] records. So for example, if your search returns 45 records and your max=10, you will get 5 links, corresponding to 1-10, 11-20, 21-30, 31-40, and 41-45. Within the [searchstring] will be [startat] corresponding to the initial value in each range (i.e. 1, 11, 21, etc).NOTE: the [SearchString] tag includes _everything_ you need, including command=search, so don't add that as well. If you do, and your users browse back and forth, everytime they click one of these links, it will grow longer by &command=search, and will eventually bomb out your web server.I do not like having all those links eating up valuable real-estate on the screen, so I long ago came up with the following method:Then I have graphics files for Next Set, Previous Set before and after my found items and use the above URL's to link to the appropriate pages. See any of my MultiBook pages at http://www.RowmanLittlefield.comand do a quick search for anything (I always use sex since I know I will always get a few hits ;~).HTHJohn Peacock Kelly.Madden@decisionconsultants.com wrote: > > HI, > > I am using WebCat 4.0 . Could somebody explain how the variable StartAT > works with relation to the shownext context. I have seen many people use > StartAt but can't find mention of it anywhere in the WebCat documentation. > It appears to be automatically increased based on max if you use > [SearchString]. Any clarification would be helpful. > > Thanks, > Kelly------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: StartAT and shownext (John Peacock 2000)
  2. StartAT and shownext (Kelly.Madden@decisionconsultants.com 2000)
StartAt is really a function of search, not shownext, although they work together. It is, suprisingly, still undocumented after all these years. If you use ShowNext, it will create a [SearchString] which will return all the records in each chunk of [max] records. So for example, if your search returns 45 records and your max=10, you will get 5 links, corresponding to 1-10, 11-20, 21-30, 31-40, and 41-45. Within the [searchstring] will be [startat] corresponding to the initial value in each range (i.e. 1, 11, 21, etc).NOTE: the [SearchString] tag includes _everything_ you need, including command=search, so don't add that as well. If you do, and your users browse back and forth, everytime they click one of these links, it will grow longer by &command=search, and will eventually bomb out your web server.I do not like having all those links eating up valuable real-estate on the screen, so I long ago came up with the following method:Then I have graphics files for Next Set, Previous Set before and after my found items and use the above URL's to link to the appropriate pages. See any of my MultiBook pages at http://www.RowmanLittlefield.comand do a quick search for anything (I always use sex since I know I will always get a few hits ;~).HTHJohn Peacock Kelly.Madden@decisionconsultants.com wrote: > > HI, > > I am using WebCat 4.0 . Could somebody explain how the variable StartAT > works with relation to the shownext context. I have seen many people use > StartAt but can't find mention of it anywhere in the WebCat documentation. > It appears to be automatically increased based on max if you use > [SearchString]. Any clarification would be helpful. > > Thanks, > Kelly------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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] Error installing v6.2 on Ubuntu 10.10 ... (2010) WebCat2 - many [carts] on one template page? (1997) Incrementing a number (1998) [hideif] (1998) Emailer (1998) Listfiles path bug ... (2005) Shipcost formula (2004) Setting up shop (1997) Dr. Watson Error (1998) Help formatting search results w/ table (1997) WebDNA Solutions ... sorry! (1997) [WebDNA] OS X mail server (2009) cart info (1998) shipcost (1997) Re:Merging databases (1997) search command (1999) suffix mapping for NT? (1997) Email within tmpl ? (1997) Searching for all records (1998) Erotic Sites (1997)