how do i remove the time in the news post on the main page? i.e. Wednesday, May 11 "@ 22:18:20 BST". I just want the date to be under my post. Also how do you change the format of the date to DD/MM/YY?
Thanks
Isaiah Nuke Soldier
Joined: May 17, 2005
Posts: 25
Location: Greece, Saloniki
Posted:
Wed May 18, 2005 2:39 am
To remove the time, you have to edit your theme.php file, and find "format story" function. Then you can delete the code that refers to date&time.
"To reflect the new time zone that may be implied by the hardcoded time offset, you would also want to change the _DATESTRING definition in your language file, e.g. language/lang-english.php:
define("_DATESTRING","%A, %B %d @ %T %Z");
You can change the "%A, %B %d @ %T %Z" string to whatever you deem appropriate."
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum