[BULK] Re: [WebDNA] Passing a text variable via copyfile

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114903
interpreted = N
texte = 2531 ------=_Part_2911255_309971611.1570414649987 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Very very weird. If i comment out [/writefile]=C2=A0=C2=A0 =C2=A0 =C2=A0[!][/writefile][/!]w= hich I have on the very last line of the info I want to write into a new pa= ge:[page_name].html then I do NOT get that [/functionspace] error line.=C2= =A0 Everything seems to have been written to my liking on the new page ceated w= ith writefile. Page behaves as expected, the text variable passed through f= rom =C2=A0the form and was also written correctly. I've looked at all webdna commands and all have a start and an end. No loos= e ends anywhere. On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair wrote: =20 =20 #yiv9888154927 #yiv9888154927 -- _filtered #yiv9888154927 {font-family:Hel= vetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9888154927 {panose-1:2= 4 5 3 5 4 6 3 2 4;} _filtered #yiv9888154927 {font-family:Calibri;panose-1= :2 15 5 2 2 2 4 3 2 4;}#yiv9888154927 #yiv9888154927 p.yiv9888154927MsoNorm= al, #yiv9888154927 li.yiv9888154927MsoNormal, #yiv9888154927 div.yiv9888154= 927MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family= :New serif;}#yiv9888154927 a:link, #yiv9888154927 span.yiv9888154927MsoHype= rlink {color:blue;text-decoration:underline;}#yiv9888154927 a:visited, #yiv= 9888154927 span.yiv9888154927MsoHyperlinkFollowed {color:purple;text-decora= tion:underline;}#yiv9888154927 p.yiv9888154927MsoNoSpacing, #yiv9888154927 = li.yiv9888154927MsoNoSpacing, #yiv9888154927 div.yiv9888154927MsoNoSpacing = {margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:New serif;}#= yiv9888154927 p.yiv9888154927msonormal0, #yiv9888154927 li.yiv9888154927mso= normal0, #yiv9888154927 div.yiv9888154927msonormal0 {margin-right:0in;margi= n-left:0in;font-size:12.0pt;font-family:New serif;}#yiv9888154927 span.yiv9= 888154927EmailStyle20 {font-family:sans-serif;color:windowtext;letter-spaci= ng:0pt;}#yiv9888154927 .yiv9888154927MsoChpDefault {font-size:10.0pt;} _fil= tered #yiv9888154927 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv9888154927 div.yi= v9888154927WordSection1 {}#yiv9888154927=20 Check to see if there are any showif and hideif issues as well. Any missing= tag brackets to. =C2=A0 Cheers TDn =C2=A0 From: Rich Kwas =20 Sent: Monday, October 07, 2019 08:41 AM To: talk@webdna.us Subject: Re: [WebDNA] Passing a text variable via copyfile =C2=A0 Ken, [writefile] is doing everything I want in regards to passing along tha= t [name] variable from the form entry that is being used to create the page= .. The [page_name} was always coming across just fine. I just needed to embe= d a [name] as a text variable on the new page created. =C2=A0 I'm using [writefile] but have an error that's puzzling be appearing t the = bottom of the created page using [writefile] =C2=A0 =C2=A0 This is the beginning of the [writefile] code: =C2=A0 [writefile ../[lowercase][page_name][/lowercase].html] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ( the rest of the html code here with a few items wrapped with [raw][/raw] = that I do not want processed by webdna during [writefile] ) =C2=A0 [/writefile] =C2=A0 =C2=A0 BUT =C2=A0 I keep getting this error at the bottom of the newly created page: =C2=A0 =C2=A0 =C2=A0 =C2=A0 Error: Error: expected [/IF], but found [/writefile] i= nstead[/writefile] =C2=A0 =C2=A0 I have no [if] [then] code anywhere on the html being used in =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [writefile] my html page code [/writefile] =C2=A0 I've searched for all instances of writefile and there are only 2 as I've r= eferenced above. =C2=A0 =C2=A0 What could be causing that error line? =C2=A0 =C2=A0 =C2=A0 On Sunday, October 6, 2019, 02:44:31 PM CDT, WebDNA Solutions wrote:=20 =C2=A0 =C2=A0 Richard, Your append context is fine as originally written, but you need to use this code instead of your copyfile code: [text]theNewFileContent=3D[include companion.html][/text] [writefile ../[lowercase][page_name][/lowercase].html] [theNewFileContent] [/writefile] If this doesn't work you'll need to modify the code in your "companion.html" file ... but test this first and see if it works, because it probably will. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list talk@webdna.usTo un= subscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/pa= ge.dna?numero=3D55Bug Reporting: support@webdna.us =20 ------=_Part_2911255_309971611.1570414649987 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Very very weird.

If i comment out [/writefile] 
     [!][/writefile][/!]
which I have on the very last line of the info I want = to write into a new page:[page_name].html then I do NOT get that [/function= space] error line. 

Everything seems to have been wr= itten to my liking on the new page ceated with writefile. Page behaves as e= xpected, the text variable passed through from  the form and was also = written correctly.


I've looked at all webdna commands and all have a start and an e= nd. No loose ends anywhere.




=20
=20
On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair= <terrynair@prism4u.com> wrote:


Check to see if there are any showif and hideif issues as well. Any mis= sing tag brackets to.

 

Cheer= s TDn

 

From: Rich Kwas <richkwasniewski@yahoo.com> Sent: Monday, October 07, 2019 08:41 AM
To: talk@webdna.us
Subject: Re: [Web= DNA] Passing a text variable via copyfile

 

Ken, [writefile] is doing everything I want in rega= rds to passing along that [name] variable from the form entry that is being= used to create the page. The [page_name} was always coming across just fin= e. I just needed to embed a [name] as a text variable on the new page creat= ed.

 

I'm using [writefile] but have an error that's puzzling be appear= ing t the bottom of the created page using [writefile]

 

 =

This is= the beginning of the [writefile] code:

 

[writefile ../[lowe= rcase][page_name][/lowercase].html]

 

<!DOCTYPE html>

<= /div>

<html>=

=   <head>

    <meta charset=3D"utf-8">

<= /div>

   = ; <meta name=3D"viewport" content=3D"width=3Ddevice-width, initial-scale= =3D1, maximum-scale=3D1, user-scalable=3Dno">

    <meta name= =3D"description" content=3D"">

    <meta name=3D"author" con= tent=3D"">

 

( the rest of the html code here with a few= items wrapped with [raw][/raw] that I do not want processed by webdna duri= ng [writefile] )

<= span style=3D"">  

[/writefile]

 

 

BUT

<= p class=3D"yiv9888154927MsoNormal">  

I keep getting t= his error at the bottom of the newly created page:

 

<= div>

    &nbs= p; Error: Error: expected [/IF], but found [/writefile] instead[/writefile]=

=  

 

I have no [if] [then] code anywhere on the html being used in=

=      

      [writefile] my html page code [/wr= itefile]

 

I've searched for all instances of writefile and there are o= nly 2 as I've referenced above.

 

 

What could be causing that err= or line?

 

 

 

On Sunday, October 6, 2019, 02:44:31 PM CDT,= WebDNA Solutions <ken@webdnasolutions.com> wrote:

 

 

Richard,

Your append context is fine as originally written, but you
need to use this code instead of your copyfile code:

[text]theNewFileContent=3D[include companion.= html][/text]

[writefile ../[lowercase]= [page_name][/lowercase].html]
[theNewFileContent]
[/writefile]

If this doesn'= t work you'll need to modify the code in your
"companion.= html" file ... but test this first and see if it
works, b= ecause it probably will.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency Phone: (228) 222-2917
Website, Databas= e, Network, and Communication Systems





---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@web= dna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?nu= mero=3D55
Bug Reporting: support@webdna.us

-------------------------= -------------------------------- This message is sent to you because you ar= e subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting= : support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ------=_Part_2911255_309971611.1570414649987-- . Associated Messages, from the most recent to the oldest:

    
2531 ------=_Part_2911255_309971611.1570414649987 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Very very weird. If i comment out [/writefile]=C2=A0=C2=A0 =C2=A0 =C2=A0[!][/writefile][/!]w= hich I have on the very last line of the info I want to write into a new pa= ge:[page_name].html then I do NOT get that [/functionspace] error line.=C2= =A0 Everything seems to have been written to my liking on the new page ceated w= ith writefile. Page behaves as expected, the text variable passed through f= rom =C2=A0the form and was also written correctly. I've looked at all webdna commands and all have a start and an end. No loos= e ends anywhere. On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair wrote: =20 =20 #yiv9888154927 #yiv9888154927 -- _filtered #yiv9888154927 {font-family:Hel= vetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9888154927 {panose-1:2= 4 5 3 5 4 6 3 2 4;} _filtered #yiv9888154927 {font-family:Calibri;panose-1= :2 15 5 2 2 2 4 3 2 4;}#yiv9888154927 #yiv9888154927 p.yiv9888154927MsoNorm= al, #yiv9888154927 li.yiv9888154927MsoNormal, #yiv9888154927 div.yiv9888154= 927MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family= :New serif;}#yiv9888154927 a:link, #yiv9888154927 span.yiv9888154927MsoHype= rlink {color:blue;text-decoration:underline;}#yiv9888154927 a:visited, #yiv= 9888154927 span.yiv9888154927MsoHyperlinkFollowed {color:purple;text-decora= tion:underline;}#yiv9888154927 p.yiv9888154927MsoNoSpacing, #yiv9888154927 = li.yiv9888154927MsoNoSpacing, #yiv9888154927 div.yiv9888154927MsoNoSpacing = {margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:New serif;}#= yiv9888154927 p.yiv9888154927msonormal0, #yiv9888154927 li.yiv9888154927mso= normal0, #yiv9888154927 div.yiv9888154927msonormal0 {margin-right:0in;margi= n-left:0in;font-size:12.0pt;font-family:New serif;}#yiv9888154927 span.yiv9= 888154927EmailStyle20 {font-family:sans-serif;color:windowtext;letter-spaci= ng:0pt;}#yiv9888154927 .yiv9888154927MsoChpDefault {font-size:10.0pt;} _fil= tered #yiv9888154927 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv9888154927 div.yi= v9888154927WordSection1 {}#yiv9888154927=20 Check to see if there are any showif and hideif issues as well. Any missing= tag brackets to. =C2=A0 Cheers TDn =C2=A0 From: Rich Kwas =20 Sent: Monday, October 07, 2019 08:41 AM To: talk@webdna.us Subject: Re: [WebDNA] Passing a text variable via copyfile =C2=A0 Ken, [writefile] is doing everything I want in regards to passing along tha= t [name] variable from the form entry that is being used to create the page= .. The [page_name} was always coming across just fine. I just needed to embe= d a [name] as a text variable on the new page created. =C2=A0 I'm using [writefile] but have an error that's puzzling be appearing t the = bottom of the created page using [writefile] =C2=A0 =C2=A0 This is the beginning of the [writefile] code: =C2=A0 [writefile ../[lowercase][page_name][/lowercase].html] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ( the rest of the html code here with a few items wrapped with [raw][/raw] = that I do not want processed by webdna during [writefile] ) =C2=A0 [/writefile] =C2=A0 =C2=A0 BUT =C2=A0 I keep getting this error at the bottom of the newly created page: =C2=A0 =C2=A0 =C2=A0 =C2=A0 Error: Error: expected [/IF], but found [/writefile] i= nstead[/writefile] =C2=A0 =C2=A0 I have no [if] [then] code anywhere on the html being used in =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [writefile] my html page code [/writefile] =C2=A0 I've searched for all instances of writefile and there are only 2 as I've r= eferenced above. =C2=A0 =C2=A0 What could be causing that error line? =C2=A0 =C2=A0 =C2=A0 On Sunday, October 6, 2019, 02:44:31 PM CDT, WebDNA Solutions wrote:=20 =C2=A0 =C2=A0 Richard, Your append context is fine as originally written, but you need to use this code instead of your copyfile code: [text]theNewFileContent=3D[include companion.html][/text] [writefile ../[lowercase][page_name][/lowercase].html] [theNewFileContent] [/writefile] If this doesn't work you'll need to modify the code in your "companion.html" file ... but test this first and see if it works, because it probably will. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list talk@webdna.usTo un= subscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/pa= ge.dna?numero=3D55Bug Reporting: support@webdna.us =20 ------=_Part_2911255_309971611.1570414649987 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Very very weird.

If i comment out [/writefile] 
     [!][/writefile][/!]
which I have on the very last line of the info I want = to write into a new page:[page_name].html then I do NOT get that [/function= space] error line. 

Everything seems to have been wr= itten to my liking on the new page ceated with writefile. Page behaves as e= xpected, the text variable passed through from  the form and was also = written correctly.


I've looked at all webdna commands and all have a start and an e= nd. No loose ends anywhere.




=20
=20
On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair= <terrynair@prism4u.com> wrote:


Check to see if there are any showif and hideif issues as well. Any mis= sing tag brackets to.

 

Cheer= s TDn

 

From: Rich Kwas <richkwasniewski@yahoo.com> Sent: Monday, October 07, 2019 08:41 AM
To: talk@webdna.us
Subject: Re: [Web= DNA] Passing a text variable via copyfile

 

Ken, [writefile] is doing everything I want in rega= rds to passing along that [name] variable from the form entry that is being= used to create the page. The [page_name} was always coming across just fin= e. I just needed to embed a [name] as a text variable on the new page creat= ed.

 

I'm using [writefile] but have an error that's puzzling be appear= ing t the bottom of the created page using [writefile]

 

 =

This is= the beginning of the [writefile] code:

 

[writefile ../[lowe= rcase][page_name][/lowercase].html]

 

<!DOCTYPE html>

<= /div>

<html>=

=   <head>

    <meta charset=3D"utf-8">

<= /div>

   = ; <meta name=3D"viewport" content=3D"width=3Ddevice-width, initial-scale= =3D1, maximum-scale=3D1, user-scalable=3Dno">

    <meta name= =3D"description" content=3D"">

    <meta name=3D"author" con= tent=3D"">

 

( the rest of the html code here with a few= items wrapped with [raw][/raw] that I do not want processed by webdna duri= ng [writefile] )

<= span style=3D"">  

[/writefile]

 

 

BUT

<= p class=3D"yiv9888154927MsoNormal">  

I keep getting t= his error at the bottom of the newly created page:

 

<= div>

    &nbs= p; Error: Error: expected [/IF], but found [/writefile] instead[/writefile]=

=  

 

I have no [if] [then] code anywhere on the html being used in=

=      

      [writefile] my html page code [/wr= itefile]

 

I've searched for all instances of writefile and there are o= nly 2 as I've referenced above.

 

 

What could be causing that err= or line?

 

 

 

On Sunday, October 6, 2019, 02:44:31 PM CDT,= WebDNA Solutions <ken@webdnasolutions.com> wrote:

 

 

Richard,

Your append context is fine as originally written, but you
need to use this code instead of your copyfile code:

[text]theNewFileContent=3D[include companion.= html][/text]

[writefile ../[lowercase]= [page_name][/lowercase].html]
[theNewFileContent]
[/writefile]

If this doesn'= t work you'll need to modify the code in your
"companion.= html" file ... but test this first and see if it
works, b= ecause it probably will.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Urgent/Emergency Phone: (228) 222-2917
Website, Databas= e, Network, and Communication Systems





---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@web= dna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?nu= mero=3D55
Bug Reporting: support@webdna.us

-------------------------= -------------------------------- This message is sent to you because you ar= e subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting= : support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ------=_Part_2911255_309971611.1570414649987-- . Rich Kwas

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:

triggers.db (1999) PIXO support (1997) Emailer help....! (1997) Feature Request (2003) attachment (2000) Webdna sends your serial number on Internet (2003) RE: [WebDNA] IF statement evaluation bug report, WebDNA 8.5.1 (2019) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) Email notification to one of multiple vendors ? (1997) Text data with spaces in them... (1997) Multiple SSL Keys (1998) WCS Newbie question (1997) multiple credit card merchant accounts/processors (1997) unable to launch acgi in WebCat (1997) Question about replacing words (1998) math on date? (1997) Running 2 two WebCatalog.acgi's (1996) Searching multiple fields (1997) NT Manual (1997) Three new problems, maybe a fourth (1997)