Re: Redirect and passing more than one variable...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43446
interpreted = N
texte = David Cate wrote:> > [showif [searchselect]=Photos][redirect > url=[url]http://www.gotricities.net/domains/timesnews.net/photodisplay.dna? > action=searching&textstring=[textstring][/url]][/showif]Though you will get some controversy on this I use the same form as you did above [redirect url=[url]theURL[/url]] and get proper results.> > > I tried something that Alain Russell mentioned with the [url] wrap, but > now my search context is not handling the expression properly..... > > The URL reads; photodisplay.dna?action=searching&textstring=Bristol, > which is a step forward,Well, yes, it looks like the redirect has the exact values you were looking for right?> but my search is not finding anything despite > the existence of 2500 photos...If your redirect contains the exact variables you want and they are making it to the photodisplay.dna page then there is nothing wrong with your redirect. the problem is in your photodisplay.dna page.am I correct that you are seeing the correct values from your redirect? can you see the correct values in the URL when you get to your photodisplay.dna page?> > > [showif [action]=searching]> [search > db=/PhotoArchive/photo.db&group1field=Caption+Description+Keywords+Photographer& > [search_type]group1datarq=might be good to URL your text string: [url][textstring][/url]> [textstring]&PubDatesort=1&UPDATEDsdir=asI'm thinking you have some problems with your sorting: You have to first tell WebDNA what to sort and then how to sort it. You also have to tell WebDNA what type of data you are sorting. ie: &PubDatesort=1&PubDatesdir=as&PubDatetype=DATE&UPDATEDEsort=2&UPDATEDsdir=as&UPDATEDtype=DATE(use the type=DATE only if infact these values are dates.)David, are you getting any founditems at all?thanks, Donovan> &Max=15&> startat=[start]] > > hmmmm > > > > > David Cate > New Media Director > The GoTriCities Network > http://www.gotricities.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: Redirect and passing more than one variable... (Donovan Brooke 2002)
  2. Re: Redirect and passing more than one variable... (Donovan Brooke 2002)
  3. Re: Redirect and passing more than one variable... (Kenneth Grome 2002)
  4. Re: Redirect and passing more than one variable... (David Cate 2002)
  5. Re: Redirect and passing more than one variable... (Michael Davis 2002)
  6. Re: Redirect and passing more than one variable... (Kenneth Grome 2002)
  7. Re: Redirect and passing more than one variable... (David Cate 2002)
  8. Re: Redirect and passing more than one variable... (Glenn Busbin 2002)
  9. Re: Redirect and passing more than one variable... (Tim Robinson 2002)
  10. Re: Redirect and passing more than one variable... (Alain Russell 2002)
  11. Re: Redirect and passing more than one variable... (David Cate 2002)
  12. Re: Redirect and passing more than one variable... (Alain Russell 2002)
  13. Redirect and passing more than one variable... (David Cate 2002)
David Cate wrote:> > [showif [searchselect]=Photos][redirect > url=[url]http://www.gotricities.net/domains/timesnews.net/photodisplay.dna? > action=searching&textstring=[textstring][/url]][/showif]Though you will get some controversy on this I use the same form as you did above [redirect url=[url]theURL[/url]] and get proper results.> > > I tried something that Alain Russell mentioned with the [url] wrap, but > now my search context is not handling the expression properly..... > > The URL reads; photodisplay.dna?action=searching&textstring=Bristol, > which is a step forward,Well, yes, it looks like the redirect has the exact values you were looking for right?> but my search is not finding anything despite > the existence of 2500 photos...If your redirect contains the exact variables you want and they are making it to the photodisplay.dna page then there is nothing wrong with your redirect. the problem is in your photodisplay.dna page.am I correct that you are seeing the correct values from your redirect? can you see the correct values in the URL when you get to your photodisplay.dna page?> > > [showif [action]=searching]> [search > db=/PhotoArchive/photo.db&group1field=Caption+Description+Keywords+Photographer& > [search_type]group1datarq=might be good to URL your text string: [url][textstring][/url]> [textstring]&PubDatesort=1&UPDATEDsdir=asI'm thinking you have some problems with your sorting: You have to first tell WebDNA what to sort and then how to sort it. You also have to tell WebDNA what type of data you are sorting. ie: &PubDatesort=1&PubDatesdir=as&PubDatetype=DATE&UPDATEDEsort=2&UPDATEDsdir=as&UPDATEDtype=DATE(use the type=DATE only if infact these values are dates.)David, are you getting any founditems at all?thanks, Donovan> &Max=15&> startat=[start]] > > hmmmm > > > > > David Cate > New Media Director > The GoTriCities Network > http://www.gotricities.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/ Donovan Brooke

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:

Help with Shipping Costs (1997) A two part question (1999) sort on categories (DBEdit) (2001) Problems with upload / WebCat (1998) Protect (1997) encrypted query string trouble on OSX (2001) WebDelivery downloads alias, not original ? (1997) problem serving foreign languages text (1997) Problems searching from a FORM (1997) WebDNA vs PHP (2003) major search problem (1998) Getting Total Quantity (1997) cc auth with [purchase] (1998) RAM variables (1997) SiteGuard Admin Feature ? (1997) WebCat2 beta 11 - new prefs ... (1997) Quitting WebMerchant ? (1997) [SHOWIF]s and empty arguments (1997) 2.0 Beta (1997) Associative lookup style? + bit more (1997)