Re: Doesn't change (WebCat 4.0)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32856
interpreted = N
texte = 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 Development >Suite 380 | http://www.smithmicro.com/isd >San Diego, CA 92127 | ------------------------- >858.675.1106 | Wireless WebDNA >858.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/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Doesn't change (WebCat 4.0) (John Butler 2000)
  2. Re: Doesn't change (WebCat 4.0) (Paul Uttermohlen 2000)
  3. Re: Doesn't change (WebCat 4.0) (Kenneth Grome 2000)
  4. Re: Doesn't change (WebCat 4.0) (Jay Van Vark 2000)
  5. Re: Doesn't change (WebCat 4.0) (Kenneth Grome 2000)
  6. Re: Doesn't change (WebCat 4.0) (Jay Van Vark 2000)
  7. Re: Doesn't change (WebCat 4.0) (Kenneth Grome 2000)
  8. Re: Doesn't change (WebCat 4.0) (Jay Van Vark 2000)
  9. Doesn't change (WebCat 4.0) (Nitai @ Eyework 2000)
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 Development >Suite 380 | http://www.smithmicro.com/isd >San Diego, CA 92127 | ------------------------- >858.675.1106 | Wireless WebDNA >858.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/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.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://search.smithmicro.com/ Kenneth Grome

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:

WebCatalog/WebMerchant 2.1.1 (PC + Mac) Available (1998) Issue with plug-in Webcat, webstar 4.x, SSL and IE when using the backbuttom (2000) Stop the madness. (1997) [OT] MACWORLD (2003) b18 problem on NT 4.0 (1997) executing via commandline (2003) Shipping Help! (1998) OT: Google (2002) problem with [include] and Web*/SSL 3.0.1 (1998) Removing items from a cart is wonky... (1998) Multiple cart additions (1997) [BoldWords] WebCat.acgib15Mac (1997) [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (2010) Merging databases (1997) tcpconnect timeout with Authorizenet (2003) A little syntax help (1997) Sitebuilder ifs not matching [SMSI?] (2004) unable to launch acgi in WebCat (1997) Dumb Question about Docs (1997) database paths/names, and a typo (1997)