Re: Search anomaly aaarrgghh!

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33212
interpreted = N
texte = don't you want &[SearchString] added to the arguments of that shownext link? otherwise how is the link supposed to know what to search for?See the docs on [shownext]...:-)-JohnTim Robinson wrote:> OK, I'll admit it! I'm a bit vague when it comes to search criteria, but I could certainly use some help :-/ > > I've got a VERY simple 3 field database (SKU, subject, text). > > My search page has the option to search the two text fields, or to do a Find All. > > My results page (results.tpl) has the following Search context at the top of the page. > > [search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10] > > This works fine for the search EXCEPT for the following. > I have a [shownext] command at the bottom of the results.tpl page which is supposed to show the next group of records if there are more than 10 records returned (my set maximum). > > [shownext] > Show Items [start]-[end]
> [/shownext] > > But, It doesn't return anything when I click on this link....! > > If I add this geSKUdata=2 to the search context making the following: > > [search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10&geSKUdata=2] > > ... then the [shownext] link work PERFECTLY, BUT, then an ordinary text search doesn't work at all! It simply does a Find All.... What is going on? > > I hope I've explained myself properly. > > Any help or explanation greatly appreciated. > > Regards, > Tim > > Tim Robinson > Art Director > imagine online > tim@imagine.au.com > http://www.imagine.au.com > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search anomaly aaarrgghh! (John Butler 2000)
  2. Search anomaly aaarrgghh! (Tim Robinson 2000)
don't you want &[SearchString] added to the arguments of that shownext link? otherwise how is the link supposed to know what to search for?See the docs on [shownext]...:-)-JohnTim Robinson wrote:> OK, I'll admit it! I'm a bit vague when it comes to search criteria, but I could certainly use some help :-/ > > I've got a VERY simple 3 field database (SKU, subject, text). > > My search page has the option to search the two text fields, or to do a Find All. > > My results page (results.tpl) has the following Search context at the top of the page. > > [search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10] > > This works fine for the search EXCEPT for the following. > I have a [shownext] command at the bottom of the results.tpl page which is supposed to show the next group of records if there are more than 10 records returned (my set maximum). > > [shownext] > [cart]&startat=[start]>Show Items [start]-[end]
> [/shownext] > > But, It doesn't return anything when I click on this link....! > > If I add this geSKUdata=2 to the search context making the following: > > [search db=imagine_tech.db&[formvariables name=_&exact=F][getchars start=2][name][/getchars]=[url][value][/url]&[/formvariables]startat=[url][startat][/url]&max=10&geSKUdata=2] > > ... then the [shownext] link work PERFECTLY, BUT, then an ordinary text search doesn't work at all! It simply does a Find All.... What is going on? > > I hope I've explained myself properly. > > Any help or explanation greatly appreciated. > > Regards, > Tim > > Tim Robinson > Art Director > imagine online > tim@imagine.au.com > http://www.imagine.au.com > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ John Butler

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:

Out of the woodwork (2007) [redirect..] (2006) Return records from another (1997) Change to 5.0 per website licensing (2003) WCS Newbie question (1997) Bug? (1997) CGI and SSI (2002) Re:HTTP header line is too long? (1997) Need A Hired Gun :^) (1998) reading a cookie problem (1998) [WebDNA] Hmmm ... (2008) MacAuthorize hub, no modal password dialog? (1997) Authenticate (1997) primer/tutorial question (2004) Why is this search finding the right thing?! (2002) [HTML*] (a proposition) (1997) Protect (1997) NY taxRates.db? (1997) Appending Information from one db to another (1998) Searching multiple Databases (1997)