| Re: Smarty Time set to -6 gmt |
| by kavaXtreme on 2005/2/23 11:11:10 It needs to be changed in your theme. Which part of the theme you want to modify depends on you and on which theme you are using. In my case I added the smarty.now tag to theme.html in my default theme. This would be found at http://www.your_site.com/themes/default/theme.html. Now back to me: can anyone PLEASE tell me how to add two hours to the smarty.now tag? As I mentioned before, the +7200 thing just makes my page stop loading at that point. Is there a way to make Smarty pull the time info from XOOPS and not the server? That would be ideal. |
| Re: Smarty Time set to -6 gmt |
| by script_fu on 2005/2/9 23:34:02 I've always wondered why my time was off an hour. Would someone point me to the files that need to be changed. Its easy for the people who already know where to go but I don't and im sure others don't either... Thanks... |
| Re: Smarty Time set to -6 gmt |
| by kavaXtreme on 2005/2/9 22:52:54 Very helpful thread. Any explanation as to why smarty.now doesn't use the time as indicated in my XOOPS preferences? I need to add 2 hours, but adding +7200 just causes the page to stop loading when it comes to that point. What am I doing wrong? |
| Re: Smarty Time set to -6 gmt |
| by Dave_L on 2005/2/3 15:48:44 le="color: #000000"><?php <{$smarty.now+3600|date_format:"%A, %B %e, %Y, %I:%M:%S%p"}>
|
| Re: Smarty Time set to -6 gmt |
| by Burnzy on 2005/2/1 3:59:48 hhttp://smarty.php.net/manual/en/language.modifier.date.format.php |