Re: [WebDNA] Passing a text variable via copyfile
This WebDNA talk-list message is from 2019
It keeps the original formatting.
numero = 114900
interpreted = N
texte = 2528Richard,Your append context is fine as originally written, but youneed to use this code instead of your copyfile code:[text]theNewFileContent=[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 itworks, because it probably will.Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comUrgent/Emergency Phone: (228) 222-2917Website, Database, Network, and Communication Systems---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
2528Richard,Your append context is fine as originally written, but youneed to use this code instead of your copyfile code:
[text]theNewFileContent=[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 itworks, because it probably will.Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comUrgent/Emergency Phone: (228) 222-2917Website, Database, Network, and Communication Systems---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=55Bug Reporting: support@webdna.us.
WebDNA Solutions
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:
Sorting Numbers (1997)
Mac GUI editors (1997)
Removing a character (2000)
[WriteFile] problems (1997)
RAM variables (1997)
$Replace with [founditems] (1997)
Corruption in images (2004)
emailer settings and control questions (1997)
File Upload (1997)
Interfacing WebMerchant to www.fedex.com (1997)
[WebDNA] Help with STMP Setup using Authentication with Google Apps in WebDNA (2016)
Stat analyzer (1997)
shocart strange behavior - ANSWER (1999)
Tech question about web dna actions (1998)
customizing the color of user's pages (1997)
Physical Security for WebCatalog Directories (1997)
Bulletin Board (1998)
Upgrading from version (1998)
Anyone done or can point to RMS (2004)
Multiple prices (1997)