I'm new to wcms.
I understand how to add new articles, content. But I want to execute for example
Code: Select all
<?php
echo date("Y/m/d") ;
?>
Code: Select all
<?php
echo date("Y/m/d") ;
?>
Code: Select all
$template_default['date']['short'] = 'Y/m/d'; // (2003/12/25)
Link is greate! Thanks a lot!flip-flop wrote:Hi,
yes it is. Have a look: [PHP]echo date("Y/m/d");[/PHP].
But in this case the better solution is the TAG: {DATE_SHORT} corresponding to the setting in "config/phpwcms/conf.template_default.php" e.g.KnutCode: Select all
$template_default['date']['short'] = 'Y/m/d'; // (2003/12/25)