Re: GuestBook example

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10714
interpreted = N
texte = > How do you format a link on a page so that executing the link > (clicking on it) not only brings up the corresponding page but > also invokes a sort ? > >Maybe that's the wrong way of doing it ? Using a form GET does it just >fine from the originating page, but maybe a link should bring up a page >which sorts itself ? I don't know if I explained that very well ... it's >been a long week :-)Hi Sven,You can place your search parameters (and sorting parameters) into a hyperlink instead of only using forms to do your searches. This technique means that your search will be pre-defined by you - instead of allowing your users to set the search parameters like in a forms-based search.You can also put a [search] context into your results template, and call that template from a regular old hyperlink. This type of search is similar (more or less) to a search done by a hyperlink - they are generally pre-defined by you (although there are exceptions that can get rather complicated, so I won't go into them here).Sorts can only happen when someone does a search, so wherever you put your search parameters, that's where your sort parameters should go too. If you tell me a little bit more about what you're trying to do, or show me an example, maybe I can try to point you in the right direction ... :)Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. Re: Search/sort in URL Was: GuestBook example (Sven U. Grenander 1997)
  2. Re: Search/sort in URL Was: GuestBook example (grichter@panavise.com (Gary Richter) 1997)
  3. Search/sort in URL Was: GuestBook example (Sven U. Grenander 1997)
  4. Re: GuestBook example (Kenneth Grome 1997)
  5. Re: GuestBook example (Sven U. Grenander 1997)
  6. GuestBook example (Sven U. Grenander 1997)
> How do you format a link on a page so that executing the link > (clicking on it) not only brings up the corresponding page but > also invokes a sort ? > >Maybe that's the wrong way of doing it ? Using a form GET does it just >fine from the originating page, but maybe a link should bring up a page >which sorts itself ? I don't know if I explained that very well ... it's >been a long week :-)Hi Sven,You can place your search parameters (and sorting parameters) into a hyperlink instead of only using forms to do your searches. This technique means that your search will be pre-defined by you - instead of allowing your users to set the search parameters like in a forms-based search.You can also put a [search] context into your results template, and call that template from a regular old hyperlink. This type of search is similar (more or less) to a search done by a hyperlink - they are generally pre-defined by you (although there are exceptions that can get rather complicated, so I won't go into them here).Sorts can only happen when someone does a search, so wherever you put your search parameters, that's where your sort parameters should go too. If you tell me a little bit more about what you're trying to do, or show me an example, maybe I can try to point you in the right direction ... :)Sincerely, Ken Kenneth Grome

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:

shell problem (2003) [OT] Appropriate Signature??? (2003) MultiGroupChecker (2000) Banners (1997) Occasional crashes with $remove (1997) More questions about serial number dishing (1997) no shopping cart (2000) Hiding the URL(was Cart ID Duplication) (2001) Help needed: older WebCat app breaks under 4.0.1 (2000) [WebDNA] small bug when searching tables in functions (2011) WC2.0 Memory Requirements (1997) [OT] Mac OSX hardware test software (2004) RE: Deafness (1998) Environment Variables (2000) WebCat2b13MacPlugIn - more [date] problems (1997) Running _every_ page through WebCat ? (1997) Line items in table cells (1997) Help with number searching (1999) Oops, my mistake - (was Bad suffix error) (1997) webcat serving up 2+ versions of the same db!!!?? (2000)