Re: [Solved? - with code] catching WebDNA error messages
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49408
interpreted = N
texte = Donovan,Thanks! It works great without the [FormVariables] tag:[Hideif [page]=] ...[/Hideif][Showif [page]=] [Redirect url=index.html][/Showif]-lucasOn Thursday, April 10, 2003, at 11:19 AM, Donovan wrote:> Lucas Rockwell wrote:>>> Hi all,>>>> Thanks again to Pedro for helping out with this one.>>>> If anyone is interested in the code for doing this, here is what I >> came up with:>>>> [Hideif [FormVariables]page=[/FormVariables]]>> Right here you are looping through all the formvariables with a result > something like this.>> [Hideif page=page=page=page=]> etc.. depending on how many variables are being passed.> This is an invalid use of the hideif command (unless I'm> not seeing something correctly).>> The rest of the code looks O.K.>> This should work also...> inside the errormessages.db>> Name Message> -----------------> Change this:> ------------------> TemplateNotFound Error: template '[param1]' not found>> -----> To:> ----> TemplateNotFound [showif [param1]^one][redirect > url=http://domain.one.com/index.html][/showif][showif > [param1]^two][redirect > url=http://domain.two.com/index.html][/showif](etc.. if you have more > than one domain on a WebDNA machine or sandbox)>> But even though Pedro's code is required on any page that uses your > techniques and might take a bit more processing time,> I like it better because something from the core WebDNA Function is > not being edited.>> Donovan>>>>>>> -lucas>>>>> -- >> * *> |\ /|> |/========================================\|> ||---------* DONOVAN D. BROOKE *----------||> ||Administrator of IT / Assc. Art Director||> || EPSEN HILLMER GRAPHICS ||> || 2000 California St. ||> || Omaha, NE 68132 ||> ||----------------------------------------||> || http://www.hgproforms.com/ ||> || http://www.ehg.net/ ||> |\========================================/|> |/ \|> * *>>>> -------------------------------------------------------------> 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/>-------------------------------------------------------------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:
Donovan,Thanks! It works great without the [formvariables] tag:[Hideif [page]=] ...[/Hideif][Showif [page]=] [Redirect url=index.html][/Showif]-lucasOn Thursday, April 10, 2003, at 11:19 AM, Donovan wrote:> Lucas Rockwell wrote:>>> Hi all,>>>> Thanks again to Pedro for helping out with this one.>>>> If anyone is interested in the code for doing this, here is what I >> came up with:>>>> [Hideif [formvariables]page=[/FormVariables]]>> Right here you are looping through all the formvariables with a result > something like this.>> [Hideif page=page=page=page=]> etc.. depending on how many variables are being passed.> This is an invalid use of the hideif command (unless I'm> not seeing something correctly).>> The rest of the code looks O.K.>> This should work also...> inside the errormessages.db>> Name Message> -----------------> Change this:> ------------------> TemplateNotFound Error: template '[param1]' not found>> -----> To:> ----> TemplateNotFound [showif [param1]^one][redirect > url=http://domain.one.com/index.html][/showif][showif > [param1]^two][redirect > url=http://domain.two.com/index.html][/showif](etc.. if you have more > than one domain on a WebDNA machine or sandbox)>> But even though Pedro's code is required on any page that uses your > techniques and might take a bit more processing time,> I like it better because something from the core WebDNA Function is > not being edited.>> Donovan>>>>>>> -lucas>>>>> -- >> * *> |\ /|> |/========================================\|> ||---------* DONOVAN D. BROOKE *----------||> ||Administrator of IT / Assc. Art Director||> || EPSEN HILLMER GRAPHICS ||> || 2000 California St. ||> || Omaha, NE 68132 ||> ||----------------------------------------||> || http://www.hgproforms.com/ ||> || http://www.ehg.net/ ||> |\========================================/|> |/ \|> * *>>>> -------------------------------------------------------------> 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/>-------------------------------------------------------------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/
Lucas Rockwell
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:Merging databases (1997)
[SearchString] problem with [search] context (1997)
PIXO support (1997)
[CART] (1997)
PCS Frames (1997)
country of origin from IPADDRESS??? (2001)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
Setting up shop (1997)
[WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012)
Search in 2 or more catalogs (1997)
Languages (1997)
All choice in popups (1997)
WebCommerce: Folder organization ? (1997)
Out of the woodwork (2007)
[SearchString] problem with [search] context (1997)
WebCat2: multiple currency support (1997)
Building Calendars (1997)
multi-paragraph fields (1997)
Erotic Sites (1997)
Close-to Comparison Code (1998)