Re: details

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50312
interpreted = N
texte = kmac wrote: > I guess I'm an idiot, because I can't get this going. > Without seeing more of your code, we cannot help you. I'll try and give you a couple of general recommendations and you can see if they help point you in the right direction:1) [shownext] predates the time when people generally used [search] as a context, so it operates only as part of a search _command_;2) The target of the [shownext] link will be in an implied search context, so if you are using an additional [search] context, it will no work (you'll have to roll your own);3) [ShowNext position=begin&method=post&max=1] will display all of the parameters actively part of the current search as so it is very useful for debugging (see below);4) most of the arguments about not using commands (preferring contexts) is needless paranoia (IMNSHO), especially when it comes to search pages - if you are so concerned about people being able to rewrite your search queries, take your data off the Internet, disconnect the PC from all power, and bury it in 300 tons of concrete; now your data is completely safe!My suggestion is to make a simple page the just includes the [shownext] context and another page that references that page as part of the search you are trying to perform (this is just for testing and experimentation). Your _target_ page will look kind of like this (if it was named ShowFile.tpl):
[ShowNext position=begin&method=post&max=1]
[searchstring]
[/ShowNext]
Your search page will need to have all of your search terms plus a couple to enable the [shownext]; as a form, it would look something like this:
NOTE that the three 'type=hidden' lines are required terms that must be in any search in order for [shownext] to function. NOTE also that the max term in the search is not the same as the max term in the [shownext]; the former is the number of records to return on each page and the latter is how many instances of the [shownext] loop itself should display on the page.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Re: Please send hosting details. THANK YOU. (Owkaye Go 2009)
  2. [WebDNA] Please send hosting details (Owkaye Go 2009)
  3. Re: WebDNA emailer details ( sal danna 2005)
  4. WebDNA emailer details ( Tangel@IslandPress.Org 2005)
  5. Re: details (kmac 2003)
  6. Re: details (John Peacock 2003)
  7. Re: details (kmac 2003)
  8. Re: details (dbrooke 2003)
  9. Re: details (kmac 2003)
  10. Re: details (kmac 2003)
  11. Re: details (Donovan 2003)
  12. Re: details (kmac 2003)
  13. Re: details (Donovan 2003)
  14. Re: details (John Peacock 2003)
  15. Re: details (WebCat @ Inkblot Media 2003)
  16. Re: details (kmac 2003)
  17. Re: details (John Peacock 2003)
  18. Re: details (kmac 2003)
  19. Re: details (Kenneth Grome 2003)
  20. Re: details (Gary Krockover 2003)
  21. details (kmac 2003)
  22. Details of shipping - Totalqty calculations (updates@virtualrep.com (Updates) 1997)
kmac wrote: > I guess I'm an idiot, because I can't get this going. > Without seeing more of your code, we cannot help you. I'll try and give you a couple of general recommendations and you can see if they help point you in the right direction:1) [shownext] predates the time when people generally used [search] as a context, so it operates only as part of a search _command_;2) The target of the [shownext] link will be in an implied search context, so if you are using an additional [search] context, it will no work (you'll have to roll your own);3) [ShowNext position=begin&method=post&max=1] will display all of the parameters actively part of the current search as so it is very useful for debugging (see below);4) most of the arguments about not using commands (preferring contexts) is needless paranoia (IMNSHO), especially when it comes to search pages - if you are so concerned about people being able to rewrite your search queries, take your data off the Internet, disconnect the PC from all power, and bury it in 300 tons of concrete; now your data is completely safe!My suggestion is to make a simple page the just includes the [shownext] context and another page that references that page as part of the search you are trying to perform (this is just for testing and experimentation). Your _target_ page will look kind of like this (if it was named ShowFile.tpl):
[ShowNext position=begin&method=post&max=1]
[searchstring]
[/ShowNext]
Your search page will need to have all of your search terms plus a couple to enable the [shownext]; as a form, it would look something like this:
NOTE that the three 'type=hidden' lines are required terms that must be in any search in order for [shownext] to function. NOTE also that the max term in the search is not the same as the max term in the [shownext]; the former is the number of records to return on each page and the latter is how many instances of the [shownext] loop itself should display on the page.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

Mac Vs WindowsNT (1997) Reversing [ipaddress] normalization (1998) NT Setup (1998) Tax & Shipping (1997) Not really WebCat (1997) RE: IIS4b2 and WebCatalog b19 (1997) WC Database Format (1997) WebCatalog2 Feature Feedback (1996) [WebDNA] Corrupted Db that Table-Search other db's (2011) web delivery (1997) [OT] maximum POST variable size (2007) SAVECART (1997) searching more then one (1999) [OT] Server check please (2006) SiteEdit NewFile.html ? (1997) Wireless WebDNA available today! (2000) Error Lob.db records error message not name (1997) dos performance (1998) EmailCompleted Clean Up (2001) Searching multiple Databases (1997)