676
edits
Tag: 2017 source edit |
|||
| Line 350: | Line 350: | ||
print strftime('%A %d %B %Y', $mydate); | print strftime('%A %d %B %Y', $mydate); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Overwrite template file (tpl)=== | |||
If you want to overwrite tpl file on your module, you need to declare it on the module_parts : | |||
<syntaxhighlight lang="PHP"> | |||
'tpl' => 1, | |||
</syntaxhighlight> | |||
Then you can put any tpl file on '''mymodule/core/tpl''' | |||
as soon as the module is activate, the tpl will be overwrited | |||
==Add your own setup page (optional)== | ==Add your own setup page (optional)== | ||
edits