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:
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)