Re: redirect within the ErrorMessages.db

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54597
interpreted = N
texte = Dale, I'm not sure of what exactly you are doing but one thing I do (suggestion derived from list members) is to take the "[" off the redirect to see if, 1. it is even there and, 2. what all values are there. Also, [url][/url] the "[mbr_name]" in the search if it contains spaces. hth, Donovan CN Stuff wrote: > Hello, > > I am trying to allow for a 'simple' URL for member pages on my site e.g. > www.domain.tld/members/username/ > > In an attempt to accomplish this, I have added the following (without > line breaks) to process the URL and do a redirect to the proper URL. > With this code, I get the proper membername, but the redirect never > happens. > > > [showif [thisurl]^members] > [ListWords Words=[thisurl]&Delimiters=/][text > show=f]mbr_name=[word][/text][/ListWords] > > [mbr_name] (for verification purposes) > > [search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]] > [founditems] > [REDIRECT > url=http://www.domain.tld/profiles/details.html?record_id=[record_id]] > [/founditems] > [/search] > [/showif] > > All I end up with is the mbr_name displayed on the screen. Anything > obvious as to what I might be doing wrong? > > Thanks > > Dale -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: redirect within the ErrorMessages.db ( Stuart Tremain 2003)
  2. Re: redirect within the ErrorMessages.db ( CN Stuff 2003)
  3. Re: redirect within the ErrorMessages.db ( CN Stuff 2003)
  4. Re: redirect within the ErrorMessages.db ( Glenn Busbin 2003)
  5. Re: redirect within the ErrorMessages.db ( Donovan Brooke 2003)
  6. redirect within the ErrorMessages.db ( CN Stuff 2003)
Dale, I'm not sure of what exactly you are doing but one thing I do (suggestion derived from list members) is to take the "[" off the redirect to see if, 1. it is even there and, 2. what all values are there. Also, [url][/url] the "[mbr_name]" in the search if it contains spaces. hth, Donovan CN Stuff wrote: > Hello, > > I am trying to allow for a 'simple' URL for member pages on my site e.g. > www.domain.tld/members/username/ > > In an attempt to accomplish this, I have added the following (without > line breaks) to process the URL and do a redirect to the proper URL. > With this code, I get the proper membername, but the redirect never > happens. > > > [showif [thisurl]^members] > [ListWords Words=[thisurl]&Delimiters=/][text > show=f]mbr_name=[word][/text][/ListWords] > > [mbr_name] (for verification purposes) > > [search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]] > [founditems] > [REDIRECT > url=http://www.domain.tld/profiles/details.html?record_id=[record_id]] > [/founditems] > [/search] > [/showif] > > All I end up with is the mbr_name displayed on the screen. Anything > obvious as to what I might be doing wrong? > > Thanks > > Dale -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.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:

How do you TEAM Code? (2004) Truncated value after space - refresh my memory.... (1997) [NT] ie 4.0 required (1997) WebCat 4.5 Email Problems? (2003) [ot] table gap help?!? (2001) Upcoming 2.1 Release and PCS Committment (1997) WCS Newbie question (1997) Extended [ConvertChars] (1997) Bug or syntax error on my part? (1997) extending webcatalog (1997) Search/sort in URL Was: GuestBook example (1997) Error reading data -1 (1997) Grepping a csv (2003) select multiple (1997) Make sure I understand this??? (1997) problems with WebCat-Plugin (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) Uh...can someone help me out with the b10? (1997) Database flushing does not work any more... (2000) Download URL & access on the fly ? (1997)