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:

WC1.6 to WC2 date formatting (1997) No luck with taxes (1997) [WebDNA] WebDNA & MySQL (2014) Fwd: Problems with Webcatalog Plug-in (1997) More on the email templates (1997) F3 crashing server (1997) won't serve .tpl -index.tpl gone, made test.tpl (2000) HTTP "host" header (2003) WebCatalog and Webstar 3.02 (1998) [SMSI] WebDNA is too good to go away! (2006) [WebDNA] JSONStore Levels (2020) WebCat b13 CGI -shownext- (1997) Simple question (1998) search form problem.. (1997) NT - Thanks and Taxes (1997) Quit revisited (1997) test (2000) Cookie Problems (2000) Cart Question: The Epic Saga (1998) So many lookers, hey smith micro (2003)