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? > -Lawrence You wouldn't believe how many times I've heard this and the problem turns 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 take them out and expect shownext to work. All the search criteria has to 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][!] > [/!] align="middle">[!] > [/!][/ShowNext][!] > [/!][ShowNext position=end&max=9&METHOD=POST][!] > [/!][!] > [/!] align="middle">[!] > [/!][!] > [/!][/ShowNext][/hideif] with: [hideif [NumFound]<[MAX]]Pages [!] [/!][ShowNext position=begin&max=9][!] [/!][!] [/!][!] [/!][/ShowNext][!] [/!][ShowNext position=middle][!] [/!][!] [/!][/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 Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  2. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  3. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  4. Re: [WebDNA] New problem with [ShowNext] ("Dan Strong" 2010)
  5. Re: [WebDNA] New problem with [ShowNext] (Govinda 2010)
  6. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  7. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  8. Re: [WebDNA] New problem with [ShowNext] (Kenneth Grome 2010)
  9. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  10. Re: [WebDNA] New problem with [ShowNext] (Govinda 2010)
  11. Re: [WebDNA] New problem with [ShowNext] (Donovan Brooke 2010)
  12. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  13. Re: [WebDNA] New problem with [ShowNext] (christophe.billiottet@webdna.us 2010)
  14. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  15. Re: [WebDNA] New problem with [ShowNext] (Lawrence 2010)
  16. Re: [WebDNA] New problem with [ShowNext] (christophe.billiottet@webdna.us 2010)
  17. [WebDNA] New problem with [ShowNext] (Lawrence 2010)
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? > -Lawrence You wouldn't believe how many times I've heard this and the problem turns 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 take them out and expect shownext to work. All the search criteria has to 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 Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-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)