Re: [WebDNA] passing a variable in an include - precedence

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113409
interpreted = N
texte = 1002 --001a114db55eaf259c0548f733be Content-Type: text/plain; charset=UTF-8 Hi all, Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS 7. Prior to the upgrade calling this include: [include file=/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=primary-nav] and having this in the include file: [text secure=F]smNAVCLASS=[/text] would result in the variable 'smNAVCLASS' being set to 'primary-nav'. After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blank. So the line "[text secure=F]smNAVCLASS=[/text]" is overwriting the passed in include variable. Is this the intended behaviour? If so then I have a lot of code to rewrite. - Tom --001a114db55eaf259c0548f733be Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Ok I have just hit an issue wit= h variables using WebDNA 8.5.1 on CentOS 7.

Prior = to the upgrade calling this include:

[include fil= e=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprima= ry-nav]

and having this in the = include file:

[text secure=3DF]smNAVCLASS=3D[/text= ]

would result in the variable = 'smNAVCLASS' being set to 'primary-nav'.

After the upgrade the variable 'smNAVCLASS' being set to = 9;' - i.e. blank.

So the line "[text secu= re=3DF]smNAVCLASS=3D[/text]" is overwriting the passed in include vari= able.

Is this the intended behaviour?=C2=A0 If so = then I have a lot of code to rewrite.

- Tom
<= div>




<= /div> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a114db55eaf259c0548f733be-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  2. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  3. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  4. Re: [WebDNA] passing a variable in an include - precedence (Stuart Tremain 2017)
  5. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2017)
  6. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  7. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  8. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  9. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  10. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  11. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  12. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  13. Re: [WebDNA] passing a variable in an include - precedence (Matthew Perosi 2015)
  14. Re: [WebDNA] passing a variable in an include - precedence (Kenneth Grome 2015)
  15. [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2015)
1002 --001a114db55eaf259c0548f733be Content-Type: text/plain; charset=UTF-8 Hi all, Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS 7. Prior to the upgrade calling this include: [include file=/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=primary-nav] and having this in the include file: [text secure=F]smNAVCLASS=[/text] would result in the variable 'smNAVCLASS' being set to 'primary-nav'. After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blank. So the line "[text secure=F]smNAVCLASS=[/text]" is overwriting the passed in include variable. Is this the intended behaviour? If so then I have a lot of code to rewrite. - Tom --001a114db55eaf259c0548f733be Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Ok I have just hit an issue wit= h variables using WebDNA 8.5.1 on CentOS 7.

Prior = to the upgrade calling this include:

[include fil= e=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprima= ry-nav]

and having this in the = include file:

[text secure=3DF]smNAVCLASS=3D[/text= ]

would result in the variable = 'smNAVCLASS' being set to 'primary-nav'.

After the upgrade the variable 'smNAVCLASS' being set to = 9;' - i.e. blank.

So the line "[text secu= re=3DF]smNAVCLASS=3D[/text]" is overwriting the passed in include vari= able.

Is this the intended behaviour?=C2=A0 If so = then I have a lot of code to rewrite.

- Tom
<= div>




<= /div> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a114db55eaf259c0548f733be-- . Tom Duke

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:

HTML (1999) all records returned. (1997) Creditcard verification with WebCat (1998) [WebDNA] Reformatting database headers (2009) WebDNA 5.0 Questions (2003) Protect vs Authenicate (1997) [WebDNA] Replace / Append only unique data (2013) [cart] tag (2000) [WebDNA] Storing time data in a database (2016) WebCatalog dying in WebTen Revisited (1998) WebCatalog can't find database (1997) Aaron kant add (or whatever it was) (2000) I've been framed by webcatalog! Does anyone know the way out? (2000) WebMerchant 1.6 and https (1997) Search returns all, not 20 (1997) WebCat2 beta 11 - new prefs ... (1997) RequiredFields template (1997) [group] ? (1997) The force has left me. (2002) WebCat2 Append problem (B14Macacgi) (1997)