-
AuthorPosts
-
ithacaindy Friend
ithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
February 14, 2012 at 3:17 pm #173886I want to edit the date string that appears with each article. Currently, it displays like this:
POST 14 FEBRUARY 2012 LAST UPDATED ON 14 FEBRUARY 2012 HITS: 0
I want it to appear like this:
Feb. 14, 2012 (Updated Feb. 14, 2012)
Thanks.
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2012 at 3:41 pm #438302Hi,
Can you please show me your web site (with JS and CSS optimization set to off) so i can help you?
Regards
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
February 14, 2012 at 3:44 pm #438305Here’s an example page:
http://www.ithacaindy.com/20120214663/the-occupy-ithaca-movement-lives-onManos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2012 at 3:54 pm #438308Hi,
Since you didn’t disable the CSS optimization i can’t tell you the exact file but you have to find this code:
dl.article-info {
color: #999999;
text-transform: uppercase;}
and change it to :
dl.article-info {
color: #999999;
text-transform: none;}
Then you can disable the extra info from Joomla stings so you it won’t render the “HITS” for example or any other info you need to hide.
Regards
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
February 14, 2012 at 3:57 pm #438309Right. But is the date format (14 February rather than Feb. 14) controlled by the language files, or elsewhere? I can disable the “HITS” string from the article options.
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2012 at 4:17 pm #438315Hi,
The date format is controlled by Joomla and Global configuration and it’s also related to the server configuration. So try to set the correct date format on your Joomla Global configuration to achieve the preferred result.Please let me know if that helps you!
Regards
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
February 14, 2012 at 4:52 pm #438321The Global Configurations Server screen allows you to set the server’s timezone (New York, in my instance). However, it does not alter the date format from the European Day Month Year nor allow you to abbreviate the month. Instead, I discovered what was necessary was this:
1. Go to the Language Manager/Override.
2. Hit New.
3. Type “date” (without quotes) in the Search box to get all of the date strings that can be overridden.In my case, the language constants to override are: COM_CONTENT_LAST_UPDATED. Other strings for articles were found in language/en-GB/en-GB.content.ini. Strings about “Post” and the date format were found in en-GB.tpl_ja_nex.ini.
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2012 at 5:28 pm #438323Hi,
This has to do with how your webserver is configured and what’s the default date format in php.ini.
I am glad that this solution worked for you! -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Manos 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum