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

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114904
interpreted = N
texte = 2532 This is a multipart message in MIME format. ------=_NextPart_000_004C_01D57CFC.F144D300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Care to share that page (off list if need be) so that a fresh pair of = eyes can work it through. =20 Cheers TDn =20 From: Rich Kwas =20 Sent: Monday, October 07, 2019 10:17 AM To: talk@webdna.us Subject: [BULK] Re: [WebDNA] Passing a text variable via copyfile Importance: Low =20 Very very weird. =20 If i comment out [/writefile]=20 [!][/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 [/functionspace] error = line.=20 =20 Everything seems to have been written to my liking on the new page = ceated with writefile. Page behaves as expected, the text variable = passed through from the form and was also written correctly. =20 =20 I've looked at all webdna commands and all have a start and an end. No = loose ends anywhere. =20 =20 =20 =20 =20 On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair = > wrote:=20 =20 =20 Check to see if there are any showif and hideif issues as well. Any = missing tag brackets to. =20 Cheers TDn =20 From: Rich Kwas >=20 Sent: Monday, October 07, 2019 08:41 AM To: talk@webdna.us =20 Subject: Re: [WebDNA] Passing a text variable via copyfile =20 Ken, [writefile] is doing everything I want in regards 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 fine. I just = needed to embed a [name] as a text variable on the new page created. =20 I'm using [writefile] but have an error that's puzzling be appearing t = the bottom of the created page using [writefile] =20 =20 This is the beginning of the [writefile] code: =20 [writefile ../[lowercase][page_name][/lowercase].html] =20 =20 ( 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] ) =20 [/writefile] =20 =20 BUT =20 I keep getting this error at the bottom of the newly created page: =20 Error: Error: expected [/IF], but found [/writefile] = instead[/writefile] =20 =20 I have no [if] [then] code anywhere on the html being used in =20 [writefile] my html page code [/writefile] =20 I've searched for all instances of writefile and there are only 2 as = I've referenced above. =20 =20 What could be causing that error line? =20 =20 =20 On Sunday, October 6, 2019, 02:44:31 PM CDT, WebDNA Solutions = > wrote:=20 =20 =20 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 =20 To unsubscribe, E-mail to: talk-leave@webdna.us = =20 archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us =20 --------------------------------------------------------- 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 =20 --------------------------------------------------------- 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 =20 --------------------------------------------------------- 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 =20 ------=_NextPart_000_004C_01D57CFC.F144D300 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Care to = share that page (off list if need be) so that a fresh pair of eyes can = work it through.

 

Cheers = TDn

 

From:<= /b> = Rich Kwas <richkwasniewski@yahoo.com>
Sent: Monday, = October 07, 2019 10:17 AM
To: = talk@webdna.us
Subject: [BULK] Re: [WebDNA] Passing a text = variable via copyfile
Importance: = Low

 

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 [/functionspace] error = line. 

 

=

Everything seems to have = been written to my liking on the new page ceated with writefile. Page = behaves as expected, 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 end. No loose ends = anywhere.

 

=

 

=

 

=

 

=

 

=

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 = missing tag brackets to.

 

Cheers TDn

 

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

 

Ken, [writefile] is doing everything I want in regards 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 fine. I = just needed to embed a [name] as a text variable on the new page = created.

 

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

 

 

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

 

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

 

<!DOCTYPE html>

<html>

  <head>

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

    <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" = content=3D"">

 

( 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] = )

 

[/writefile]

 

 

BUT

 

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

 

      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 = [/writefile]

 

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

 

 

What could be causing that error = 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]
[/w= ritefile]

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 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/p= age.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/p= age.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 ------=_NextPart_000_004C_01D57CFC.F144D300-- . Associated Messages, from the most recent to the oldest:

    
2532 This is a multipart message in MIME format. ------=_NextPart_000_004C_01D57CFC.F144D300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Care to share that page (off list if need be) so that a fresh pair of = eyes can work it through. =20 Cheers TDn =20 From: Rich Kwas =20 Sent: Monday, October 07, 2019 10:17 AM To: talk@webdna.us Subject: [BULK] Re: [WebDNA] Passing a text variable via copyfile Importance: Low =20 Very very weird. =20 If i comment out [/writefile]=20 [!][/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 [/functionspace] error = line.=20 =20 Everything seems to have been written to my liking on the new page = ceated with writefile. Page behaves as expected, the text variable = passed through from the form and was also written correctly. =20 =20 I've looked at all webdna commands and all have a start and an end. No = loose ends anywhere. =20 =20 =20 =20 =20 On Sunday, October 6, 2019, 08:44:18 PM CDT, Terry Nair = > wrote:=20 =20 =20 Check to see if there are any showif and hideif issues as well. Any = missing tag brackets to. =20 Cheers TDn =20 From: Rich Kwas >=20 Sent: Monday, October 07, 2019 08:41 AM To: talk@webdna.us =20 Subject: Re: [WebDNA] Passing a text variable via copyfile =20 Ken, [writefile] is doing everything I want in regards 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 fine. I just = needed to embed a [name] as a text variable on the new page created. =20 I'm using [writefile] but have an error that's puzzling be appearing t = the bottom of the created page using [writefile] =20 =20 This is the beginning of the [writefile] code: =20 [writefile ../[lowercase][page_name][/lowercase].html] =20 =20 ( 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] ) =20 [/writefile] =20 =20 BUT =20 I keep getting this error at the bottom of the newly created page: =20 Error: Error: expected [/IF], but found [/writefile] = instead[/writefile] =20 =20 I have no [if] [then] code anywhere on the html being used in =20 [writefile] my html page code [/writefile] =20 I've searched for all instances of writefile and there are only 2 as = I've referenced above. =20 =20 What could be causing that error line? =20 =20 =20 On Sunday, October 6, 2019, 02:44:31 PM CDT, WebDNA Solutions = > wrote:=20 =20 =20 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 =20 To unsubscribe, E-mail to: talk-leave@webdna.us = =20 archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us =20 --------------------------------------------------------- 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 =20 --------------------------------------------------------- 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 =20 --------------------------------------------------------- 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 =20 ------=_NextPart_000_004C_01D57CFC.F144D300 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Care to = share that page (off list if need be) so that a fresh pair of eyes can = work it through.

 

Cheers = TDn

 

From:<= /b> = Rich Kwas <richkwasniewski@yahoo.com>
Sent: Monday, = October 07, 2019 10:17 AM
To: = talk@webdna.us
Subject: [BULK] Re: [WebDNA] Passing a text = variable via copyfile
Importance: = Low

 

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 [/functionspace] error = line. 

 

=

Everything seems to have = been written to my liking on the new page ceated with writefile. Page = behaves as expected, 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 end. No loose ends = anywhere.

 

=

 

=

 

=

 

=

 

=

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 = missing tag brackets to.

 

Cheers TDn

 

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

 

Ken, [writefile] is doing everything I want in regards 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 fine. I = just needed to embed a [name] as a text variable on the new page = created.

 

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

 

 

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

 

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

 

<!DOCTYPE html>

<html>

  <head>

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

    <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" = content=3D"">

 

( 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] = )

 

[/writefile]

 

 

BUT

 

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

 

      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 = [/writefile]

 

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

 

 

What could be causing that error = 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]
[/w= ritefile]

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 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/p= age.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/p= age.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 ------=_NextPart_000_004C_01D57CFC.F144D300-- . "Terry Nair"

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:

PSC recommends what date format yr 2000??? (1997) [searchString] (1997) WCS Newbie question (1997) problem serving foreign languages text (1997) Configuration Q (1998) WebCat2b15MacPlugin - [protect] (1997) Random question (1998) WCf2 and nested tags (1997) [OT] Apple and 128bit SSL (2003) E-Mailer (WebCatb15acgiMac) (1997) won't serve .tpl (2000) cart converting to scientific notation format (2001) Auto entering Friday's date in a field (2002) Help! WebCat2 bug (1997) Generating Report Totals (1997) math on date? (1997) .html to .tpl (1998) Meet your competition (2000) CSS positioning!!! (2001) Help! WebMerchant store suddenly won't process orders... (2001)