Output News template to a file?
Posted: Tue May 02, 2023 1:54 pm
Hi,
could anybody help me / give me a hint with the News module?
I am neither a Smarty specialist nor a programmer – so I have been looking around for a long time.
Problem / question:
I need to output a news template to write a file to the file system on the server.
I can fetch a file with smarty, no problem. But I could nowhere find how to write a file with smarty. The idea is to use a news template to output the latest 10 news – and then write the output to a file in a directory on the server so that it can be read and / or downloaded by another application or website.
I am using CMSms 2.2.16 and the latest module updates.
Thanks for helping!
Reinhard
could anybody help me / give me a hint with the News module?
I am neither a Smarty specialist nor a programmer – so I have been looking around for a long time.
Problem / question:
I need to output a news template to write a file to the file system on the server.
I can fetch a file with smarty, no problem. But I could nowhere find how to write a file with smarty. The idea is to use a news template to output the latest 10 news – and then write the output to a file in a directory on the server so that it can be read and / or downloaded by another application or website.
I am using CMSms 2.2.16 and the latest module updates.
Thanks for helping!
Reinhard