This question about Using an extension: Asked
Edit Table Plugin and INCLUDE
I am migrating off of an old server that had a installation of TWiki installed and I am moving to Foswiki. I am having an issue with inserting %INCLUDE directives into an EDITTABLE.
Below is an example of something that I would like to include on a page, the first three fields get generated by a script that runs in the back ground.
The problem is that after the last include the row gets split
%TABLE{"headerrows="1"}%<br />%EDITTABLE{ format="| label, 15, *IP Address* | label, 15, *Type* | label, 10, *Software* | select, 1, None, User1, User2, User3 | checkbox, 7, Option1, Option2, Option3 | date, 15, %d-%m-%Y | text, 300, comments |" changerows="off" headerrows="1"}%<br />| *IP Address* | *Type* | *Software* | *User* | *Polling* | *End Date* | *MOTD Message* |<br />| [[https://10.17.144.4/twiki/10.17.144.56.inv.txt][10.17.144.56]] | %INCLUDE{"http://10.17.144.4/twiki/10.17.144.56.txt" }% | %INCLUDE{"http://10.17.144.4/twiki/10.17.144.56.sw.txt" }% | Test | Test | 2024-12-29 | Preparing for IP Migration |
|
10.17.144.56 | Node Type | 23.10.R3
Test | Test | 2024-12-29 | Preparing for IP Migration |
From TWiki:
Any suggestions?
--
StephenDonovan - 15 Apr 2024
Hmm, I made some progress. I manually created some files on my server that will be included with the INCLUDE statements, but for some reason the newline isn't being striped, not certain if I am missing something or not. I have a script that actually creates these files and it doesn't include the linefeed, so I should be good, but I'm still curious if I am missing something or if something is wrong
--
StephenDonovan - 16 Apr 2024
I tried to simplify my setup and just had a very simple table, this is also broken.
| %INCLUDE{"http://10.17.144.4/twiki/10.17.144.56.txt" }% | Test | | Test | Test |