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 ahyperlink instead of only using forms to do your searches. This techniquemeans that your search will be pre-defined by you - instead of allowingyour users to set the search parameters like in a forms-based search.You can also put a [search] context into your results template, and callthat template from a regular old hyperlink. This type of search is similar(more or less) to a search done by a hyperlink - they are generallypre-defined by you (although there are exceptions that can get rathercomplicated, so I won't go into them here).Sorts can only happen when someone does a search, so wherever you put yoursearch parameters, that's where your sort parameters should go too. If youtell me a little bit more about what you're trying to do, or show me anexample, maybe I can try to point you in the right direction ... :)Sincerely,Ken
Associated Messages, from the most recent to the oldest:
> 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 ahyperlink instead of only using forms to do your searches. This techniquemeans that your search will be pre-defined by you - instead of allowingyour users to set the search parameters like in a forms-based search.You can also put a
[search] context into your results template, and callthat template from a regular old hyperlink. This type of search is similar(more or less) to a search done by a hyperlink - they are generallypre-defined by you (although there are exceptions that can get rathercomplicated, so I won't go into them here).Sorts can only happen when someone does a search, so wherever you put yoursearch parameters, that's where your sort parameters should go too. If youtell me a little bit more about what you're trying to do, or show me anexample, 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:
RE: AccountAuthorizer doesn't seem to work (1997)
Forcing Paragraph Breaks on Results (1998)
Search all Fields in a db (1997)
Digest for 4/18/97 (1997)
Initiating NewCart (1997)
Linux [decrypt] bug exists only on webcat 3 or also 4? (2000)
[sendmail] questions... (1997)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
problem: mail changed (1997)
WebCat website for developers and hosters (2001)
Re[2]: SSL data to/from webcatalog? (2000)
Emailer (1997)
WML (2000)
Max DB Size (2004)
WebCatalog for guestbook ? (1997)
[WebDNA] Weird issue with ADD (2018)
OFF-TOPIC: Lending investors ... (2002)
Re[3]: Problem with new formvariables (2000)
Cookies and WebTV (1999)
Resume Catalog ? (1997)