-
AuthorPosts
-
April 19, 2012 at 2:53 am #176275pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 19, 2012 at 5:24 am #449054Hi
To config the date on the ja_Nex template you need to edit the file in the templatesja_nexblockstopmenu.php
[PHP]<?php
echo “<span class=”date”>”.date (‘d’).”</span>”;
echo “<span class=”month”>”.JText::_(strtoupper(date (‘F’))).”</span>”;
echo “<span class=”year”>”.date (‘Y’).”</span>”;?>[/PHP]
For any references on the php date function look at this manual
Regards
1 user says Thank You to pavit for this useful post
September 12, 2012 at 6:27 pm #466854Where is the setting for the timezone ? I have updated the timezone from Global Configuration>Server>Server Time zone in J2.5, but it seems to be taking the wrong time zone and is couple of hours behind.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 14, 2012 at 10:18 am #467044AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 4 voices, and was last updated by Luna Garden 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
how to config the date, and what file and where path ??
Viewing 4 posts - 1 through 4 (of 4 total)