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:

Blog Software (2006) I'm Sorry - OFF TOPIC (2000) RE: New WebCatalog Version !!! (1997) Roundup (2001) WebCat2 several catalogs? (1997) [WebDNA] Faceebook / Twitter links (2011) Running _every_ page through WebCat ? (1997) Math, Multiple Equasions and Show/Hide (1998) Opinion: [input] should be called [output] ... (1997) Assign Variable Value (1998) Download (1999) [TCPSend] and whois? (1999) PCS Emailer's role ? (1997) Help formatting search results w/ table (1997) Setting up shop (1997) Fun with Dates - finally resolved but.... (1997) Re:Merging databases (1997) SetLineItem LineItem where out thou? (2000) Only charge card when product shipped ? (1997) grouping fields question (1998)