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:

NT vs Mac (1997) [ShowCart] and GET vs. POST (1997) Cart Question (1998) WordBreak Qestion (1998) Email Not Being Sent (2004) Better Stability, Better Performance, Bugs are dead/ Gone (2000) What am I missing (1997) Too Much Rootbeer Free Offer (1997) referrer and no caches (1997) Tab Charactor (1997) RE: [WebDNA] [OT] For Will (2009) $Append for Users outside the ADMIN group (1997) I'm tired of all this! (2000) Banner DNA (1997) [WebDNA] Finally got 6.2 running on Server2012...... Had a question on (2016) RAM variables (1997) Variables containing ! breaking HIDEIF's (1999) [UPPERCASE] (1997) OFF-TOPIC: Check www.godaddy.com for me ... (2003) [addlineitems] (1997)