Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
helsnicht
Hangin' Around



Joined: Jan 25, 2008
Posts: 44

PostPosted: Fri Apr 11, 2008 10:39 am Reply with quote

How do I tweak the $time to show just the date instead of the date and time within the news_story.html? I've looked in the themes.php but its not defined there.

Currently displays like:
Thursday, March 27, 2008 @ 15:53:10 UTC

Wanting it to display like:
Thursday, March 27, 2008

Thanks,
Helz
 
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Apr 11, 2008 11:02 am Reply with quote

You need to modify the language constant _DATESTRING which is in lang/lang-(your-language).php; e.g. lang/lang-english.php.

In your case, change it to this:

define('_DATESTRING','%A, %B %d, %Y');

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
helsnicht







PostPosted: Fri Apr 11, 2008 10:08 pm Reply with quote

Thank you Gremmie, that took care of it.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©