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][!]> [/!]
![](gfx/[math]ceil([END]/[MAX])[/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][!] [/!]
[!] [/!]![](gfx/[math]ceil([END]/[MAX])[/math].gif)
[!] [/!][/ShowNext][!] [/!][ShowNext position=middle][!] [/!]
![](gfx/[math]ceil([END]/[MAX])[/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">
[!]> [/!]
![](gfx/<a target=)
[math]ceil([END]/[MAX])[/math].gif" border="0" > align="middle">
[!]> [/!][/ShowNext]
[!]> [/!][ShowNext position=middle&METHOD=POST]
[!]> [/!]
![](gfx/<a target=)
[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">
[!]> [/!]
![](gfx/<a target=)
[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]">
[!] [/!]
![](gfx/<a target=)
[math]ceil([END]/[MAX])[/math].gif" border="0" align="middle">
[!] [/!][/ShowNext]
[!] [/!][ShowNext position=middle]
[!] [/!]
![](gfx/<a target=)
[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]">
[!] [/!]
![](gfx/<a target=)
[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:
Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003)
[WebDNA] How to get a screen size (2009)
Still having problems with Authen (1997)
upgrading (1997)
WebCat and WebTen 2.0 (1997)
Netscape v. IE (1997)
Site Builder & IE Mac (2004)
Shoppingcart passing price (2000)
Hiding HTML and breaking the page (1997)
how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000)
Expected behavior? (1998)
cart info (1998)
convertwords BUG (2002)
WebCat2.0 [format thousands .0f] no go (1997)
MacActivity and PCS (1997)
formatting dates from a field ... (1997)
creating writefile data from a nested search (1997)
Smith Micro - no competition (2000)
[WebDNA] Google Cloud (2014)
[WebDNA] Using WebDNA with MAMP (2010)