Hi All,
I am trying to add PHP script as customized html module. But it just removing the PHP script. I am actually add at date/time module with site last modified info into my site. Is there anyway, I can do this?
Thanks in advance.
Prasun
Hi All,
I am trying to add PHP script as customized html module. But it just removing the PHP script. I am actually add at date/time module with site last modified info into my site. Is there anyway, I can do this?
Thanks in advance.
Prasun
You can do this with the "file" insert tag: http://www.contao.org/en/insert-tags.ht ... e-elements
Contao Community Moderator
→ Support options
Yeah, for what you wanna add, you don't need an external script, because Contao already provides lots of insert tags to insert info.
{{last_update::d-m-Y}}
Where the format d-m-Y is the standard PHP date format (and used on Contao).
I use {{date::Y}} for the copyright notice at the bottom of the site.
Bookmarks