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:

reading a email (2000) Help! WebCat2 bug (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) ISP Billing Software (2001) RE:formula.db problems (1999) Return as Delimeter (2000) Reversed words (1997) Cold Fusion Buster (1997) Running 2 two WebCatalog.acgi's (1996) [WebDNA] search by range of dates (2009) New random discoveries? (2005) IE4.5 bug FYI (1999) Frames and WebCat (1997) Currency Conversion (2003) WebDNA dying or ... ? (2005) Hierarchy of form/text/math variables (2000) AAgghh!! Help, please. SSL strikes again. (1997) Help!!!! Purchases not going through! (1997) Image Library (2003) creating a ShipCosts database (1997)