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:

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)