Re: Doesn't change (WebCat 4.0)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32858
interpreted = N
texte = This has nothing to do with the variable hierarchy....>Nitai,>>You don't have to go thru SM's tech support procedures to get this>problem resolved. This is a *perfect* example of how the new 4.0>default variable hierarchy can break your existing templates ...>>You probably preset the value of the action variable to a blank>value at the top of the atadd.tpl page, didn't you? Lots of us have>adopted this coding technique during the past year or two to clean up>our code and to make our coding work easier ...>>Unfortunately, if you try to use the new default variable hierarchy,>this technique will no longer be possible -- because incoming>formvariables will never override the preset text variable values in>the new default hierarchy.>>Therefore, to make your site work the way it used to with version 3,>you must now:>>1- Get rid of all your preset text and math variable values *and*>change all your showif's and hideif's that compare like this: [showif>[var1]=] to this kind of comparison instead: [showif>[var1]=[raw][var1][/raw]]>>OR you can ...>>2- Change all your [text] tags to [text secure=f] tags.>>OR you can ...>>3- Change the insecureTextVars preference from 0 to 1.>>>Obviously #3 is the easiest ... :)>>>>Please coordinate this directly through webcatalog@smithmicro.com so>>that we can track this down quickly...>>>>Make sure to include specifics about what doesn't work -- what is it doing?>>>>Thanks!>>>>>Now, I don't know if this is the text thing we have talked about it but lets>>>see:>>>>>>I have this form>>>>>>>
>>>>>>And on katadd.tpl this:>>>>>>[showif [action]=save1]>>>>>>[search db=../data/kat.db&gekatiddata=0&katidtype=numm&dekatidsort=1&max=1]>>>[math show=f]newnummer=[founditems][katid][/founditems]+1[/math]>>>[/search]>>>>>>[append>>>db=../data/kat.db]katid=[newnummer]&kat1=[url][__kat1][/url][/append]>>>>>>[/showif]>>>>>>Now with WebCat 3.x this works fine, but with WebCat 4.0 it doesn't. Any>>>clues?>>>>>>TIA.>>>Sincerely,>>>Nitai>>>>>>-->>>Ecommerce für Ihre Ziele>>>Eyework - http://eyework.net/>>>>>>EMail: Info@eyework.net>>>Tel: +41 (0)52 / 654 15 55, Fax: +41 (0)52 / 654 15 59>>>Jay Van Vark ***********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive | Software & Site DevelopmentSuite 380 | http://www.smithmicro.com/isdSan Diego, CA 92127 | -------------------------858.675.1106 | Wireless WebDNA858.675.0372 (fax) ***********************************NASDQ: SMSI-------------------------------------------------------------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:
This has nothing to do with the variable hierarchy....>Nitai,>>You don't have to go thru SM's tech support procedures to get this>problem resolved. This is a *perfect* example of how the new 4.0>default variable hierarchy can break your existing templates ...>>You probably preset the value of the action variable to a blank>value at the top of the atadd.tpl page, didn't you? Lots of us have>adopted this coding technique during the past year or two to clean up>our code and to make our coding work easier ...>>Unfortunately, if you try to use the new default variable hierarchy,>this technique will no longer be possible -- because incoming>formvariables will never override the preset text variable values in>the new default hierarchy.>>Therefore, to make your site work the way it used to with version 3,>you must now:>>1- Get rid of all your preset text and math variable values *and*>change all your showif's and hideif's that compare like this: [showif>[var1]=] to this kind of comparison instead: [showif>[var1]=[raw][var1][/raw]]>>OR you can ...>>2- Change all your [text] tags to [text secure=f] tags.>>OR you can ...>>3- Change the insecureTextVars preference from 0 to 1.>>>Obviously #3 is the easiest ... :)>>>>Please coordinate this directly through webcatalog@smithmicro.com so>>that we can track this down quickly...>>>>Make sure to include specifics about what doesn't work -- what is it doing?>>>>Thanks!>>>>>Now, I don't know if this is the text thing we have talked about it but lets>>>see:>>>>>>I have this form>>>>>>>>>>>>>And on katadd.tpl this:>>>>>>[showif [action]=save1]>>>>>>[search db=../data/kat.db&gekatiddata=0&katidtype=numm&dekatidsort=1&max=1]>>>[math show=f]newnummer=[founditems][katid][/founditems]+1[/math]>>>[/search]>>>>>>[append>>>db=../data/kat.db]katid=[newnummer]&kat1=[url][__kat1][/url][/append]>>>>>>[/showif]>>>>>>Now with WebCat 3.x this works fine, but with WebCat 4.0 it doesn't. Any>>>clues?>>>>>>TIA.>>>Sincerely,>>>Nitai>>>>>>-->>>Ecommerce für Ihre Ziele>>>Eyework - http://eyework.net/>>>>>>EMail: Info@eyework.net>>>Tel: +41 (0)52 / 654 15 55, Fax: +41 (0)52 / 654 15 59>>>Jay Van Vark ***********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive | Software & Site DevelopmentSuite 380 | http://www.smithmicro.com/isdSan Diego, CA 92127 | -------------------------858.675.1106 | Wireless WebDNA858.675.0372 (fax) ***********************************NASDQ: SMSI-------------------------------------------------------------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/
Jay Van Vark
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:
[SHOWIF AND/OR] (1997)
All choices on IE different than Netscape (1997)
too many nested tags ... (1997)
Find one not all, code not working (2003)
Possible Bug in 2.0b15.acgi (1997)
RE: Template Not Found (1998)
Emailer setup (1997)
solution: multi-part email using [sendmail] (2001)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
Virtual hosting and webcatNT (1997)
Multiple Users.db Possible? (1997)
variables in [addlineitem] (1998)
WC Database Format (1997)
Quit revisited (1997)
Limiting user access to .tmpl files (1997)
WebDNA 4.5 upgrade? (2002)
WebCatalog + Linux + ODBC + Oracle ! ? (2000)
SiteEdit Pro Update Announcement (1997)
[WebDNA] Brian Harrington (2019)
can we get string variables? (1998)