5 Mar
2002
5 Mar
'02
3:39 p.m.
Fanta Diallo wrote:
Hello, this is a trivial question I guess.
I find a lot of info to include a PROPERTY of a file into a page template. But I want to include the CONTENT of a file into this page template. -> what should be the format of the file that I want to include
I don't understand that question.
-> how do I make the include statement from my page template?
If you want to include a file from the filesystem write an external python script which returns you the content if the file, then <span tal:replace="python: yourFunction()"> if you want to include a file stored in zope: <span tal:replace="python: path2file.data"> Code was typed by mind, might contain errors. Hope that helps, thomas