Re: Help getting [shownext] to increment
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 47290
interpreted = N
texte = Joe R. Richardson wrote:> I'm getting groggy trying to get [shownext] to work. It's all a blur now and> perhaps someone could take a look at the code below and the site>
and tell me why [shownext]> won't increment the found items.> > Thanks for the help.Simply put, [shownext] requires the original search to include both the max and start paramaters, and it _does not_ require an additional command=search. I don't know that you can even have a working [shownext] starting from within an embedded [search] context, but I don't see why not. Change your code like this:[search db=catalog.db&eqDepartmentdatarq=[url][Department][/url]&max=5&start=1]....[shownext]Show items [start]-[end]
[/shownext]....The [Searchstring] will contain _everything_ that is needed to perform the search, including the command=search. View source if you don't believe me...SMSI!!! THIS IS A LONGSTANDING ERROR IN THE DOCUMENTATION AND IT WILL CAUSE MOST WEBSERVERS TO CRASH AFTER JUST A FEW BACK AND FORTH SEARCHES (THE URL BUFFER IS RARELY MORE THAN 2048 BYTES). FIX THE DOCS!!!!!!!John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Joe R. Richardson wrote:> I'm getting groggy trying to get [shownext] to work. It's all a blur now and> perhaps someone could take a look at the code below and the site> and tell me why [shownext]> won't increment the found items.> > Thanks for the help.Simply put, [shownext] requires the original search to include both the max and start paramaters, and it _does not_ require an additional command=search. I don't know that you can even have a working [shownext] starting from within an embedded [search] context, but I don't see why not. Change your code like this:[search db=catalog.db&eqDepartmentdatarq=[url][Department][/url]&max=5&start=1]....[shownext]Show items [start]-[end]
[/shownext]....The [Searchstring] will contain _everything_ that is needed to perform the search, including the command=search. View source if you don't believe me...SMSI!!! THIS IS A LONGSTANDING ERROR IN THE DOCUMENTATION AND IT WILL CAUSE MOST WEBSERVERS TO CRASH AFTER JUST A FEW BACK AND FORTH SEARCHES (THE URL BUFFER IS RARELY MORE THAN 2048 BYTES). FIX THE DOCS!!!!!!!John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://webdna.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:
WC Database Format (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Help! (2000)
RE: [shownext] support - MacOS (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Plugin or CGI or both (1997)
Filemaker Pro and [convertchars] (2000)
Nesting format tags (1997)
SiteGuard Admin Feature ? (1997)
WC 2.0 frames feature (1997)
(1998)
Error Lob.db records error message not name (1997)
Plugin or CGI or both (1997)
Protect vs Authenicate (1997)
New WebCatalog site! (1997)
Field lenght (1998)
emailer on Windows Beta 18 (1997)
Three new problems, maybe a fourth (1997)
[include ...] behavior (1997)