tonito Posted September 7, 2009 Share Posted September 7, 2009 Hi,I am trying to add a © 2009 in my footer, after the powered by prestashop.In my blockvariouslink.tpl, in Block Various Link, I tried to add © <?php echo date('Y') ?> to no available.Any help? Link to comment Share on other sites More sharing options...
ramblingrose Posted September 7, 2009 Share Posted September 7, 2009 I am not too familiar with Smarty yet but it seems you can not use inline PHP constructions with it! I found that you can use |©{$smarty.now|date_format:"%Y"} instead of the inline PHP. 1 Link to comment Share on other sites More sharing options...
ramblingrose Posted September 8, 2009 Share Posted September 8, 2009 Appearantly you can use inline PHP with Smarty, just a bit different :-)See http://www.smarty.net/manual/en/language.function.php.php 1 Link to comment Share on other sites More sharing options...
min Posted September 9, 2009 Share Posted September 9, 2009 after reading wheeloftime's info.. i just put in {php}echo date("Y"){/php} where that you want to put in the "year" and it shows in the right way..LOL.hope that help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now