Re: [WebDNA] New problem with [ShowNext]
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105316
interpreted = N
texte = Lawrence wrote:> I have the same problem with the following code, were SKU_CD is a > numeric code.> How could it be a problem with my code, as it was working fine for the > last 4 years?> -LawrenceYou wouldn't believe how many times I've heard this and the problemturns out to be code. Along with agreeing with Ken's comments, if theme and field1 are a part of the search terms.. then you just can't takethem out and expect shownext to work. All the search criteria hasto be passed that the orig search uses. Try replacing this:> [hideif [NumFound]<[MAX]]
Pages [!]> [/!][ShowNext position=begin&max=9&METHOD=POST][!]> [/!]
[!]> [/!]
align="middle">[!]> [/!][/ShowNext][!]> [/!][ShowNext position=middle&METHOD=POST][!]> [/!]
[/math]_on.gif)
align="middle">[!]> [/!][/ShowNext][!]> [/!][ShowNext position=end&max=9&METHOD=POST][!]> [/!]
[!]> [/!]
align="middle">[!]> [/!][!]> [/!][/ShowNext][/hideif]with:[hideif [NumFound]<[MAX]]
Pages [!] [/!][ShowNext position=begin&max=9][!] [/!]
[!] [/!][/math].gif)
[!] [/!][/ShowNext][!] [/!][ShowNext position=middle][!] [/!]
[/math]_on.gif)
[!] [/!][/ShowNext][!] [/!][ShowNext position=end&max=9][!] [/!]
[!] [/!]
[!] [/!][!] [/!][/ShowNext][!][/!][/hideif]Note, watch for email line break issues.. and the above contains some troubleshooting vars that we will be able to see by looking at the source of your web page... I also deleted a lonesome trailing '' and the method=post (because I've never personally used that param).-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
Lawrence wrote:> I have the same problem with the following code, were SKU_CD is a > numeric code.> How could it be a problem with my code, as it was working fine for the > last 4 years?> -LawrenceYou wouldn't believe how many times I've heard this and the problemturns out to be code. Along with agreeing with Ken's comments, if theme and field1 are a part of the search terms.. then you just can't takethem out and expect shownext to work. All the search criteria hasto be passed that the orig search uses. Try replacing this:> [hideif [NumFound]<[MAX]]
Pages [!]> [/!][ShowNext position=begin&max=9&METHOD=POST]
[!]> [/!]
[thisurl]?
[!]> [/!]SKU_CD=[SKU_CD]&max=[max]&startat=[start]&CT=T">
[!]> [/!]

[math]ceil([END]/[MAX])[/math].gif" border="0" > align="middle">
[!]> [/!][/ShowNext]
[!]> [/!][ShowNext position=middle&METHOD=POST]
[!]> [/!]

[math]ceil([END]/[MAX])[/math]_on.gif" border="0" > align="middle">
[!]> [/!][/ShowNext]
[!]> [/!][ShowNext position=end&max=9&METHOD=POST]
[!]> [/!]
[thisurl]?
[!]> [/!]SKU_CD=[SKU_CD]&max=[max]&startat=[start]&CT=T">
[!]> [/!]

[math]ceil([END]/[MAX])[/math].gif" border="0" > align="middle">
[!]> [/!]
[!]> [/!][/ShowNext][/hideif]with:[hideif [NumFound]<[MAX]]
Pages [!] [/!][ShowNext position=begin&max=9]
[!] [/!]
[thisurl]?max=[max]&startat=[start]&theme=
[url][THEME][/url]&field1=
[url][field1][/url]">
[!] [/!]

[math]ceil([END]/[MAX])[/math].gif" border="0" align="middle">
[!] [/!][/ShowNext]
[!] [/!][ShowNext position=middle]
[!] [/!]

[math]ceil([END]/[MAX])[/math]_on.gif" border="0" align="middle">
[!] [/!][/ShowNext]
[!] [/!][ShowNext position=end&max=9]
[!] [/!]
[thisurl]?max=[max]&startat=[start]&theme=
[url][THEME][/url]&field1=
[url][field1][/url]">
[!] [/!]

[math]ceil([END]/[MAX])[/math].gif" border="0" align="middle">
[!] [/!]
[!] [/!][/ShowNext]
[!][/!][/hideif]Note, watch for email line break issues.. and the above contains some troubleshooting vars that we will be able to see by looking at the source of your web page... I also deleted a lonesome trailing '' and the method=post (because I've never personally used that param).-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Donovan Brooke
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:
SQLConnect to Oracle database (2004)
Review comparison by PC Magazine: Open for On-line Business (1997)
Problems with totals (1997)
More than one db with the same namn (was: WC2f3) (1997)
Unexpected error (1997)
SMSI FTP - calander system THANKS! (2002)
Speed Test Results Dell 2650 Xeon 2.4ghz (2002)
Emailer problems solved (1997)
No more misunderstanding ... yay! :) (1997)
WebCommerce: Folder organization ? (1997)
Removing carriage returns and line feeds (2006)
Cart vs database (1998)
Merging databases (1997)
MacFinder -- a new WebDNA web site (1998)
Not really WebCat (1997)
More questions about serial number dishing (1997)
Just-in-RAM? (2000)
[WebDNA] .html suffix (2014)
Search/sort in URL Was: GuestBook example (1997)
Upload and WebCat (1998)