Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • ithacaindy Friend
    #173886

    I 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 Moderator
    #438302

    Hi,

    Can you please show me your web site (with JS and CSS optimization set to off) so i can help you?

    Regards

    ithacaindy Friend
    #438305
    Manos Moderator
    #438308

    Hi,

    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 Friend
    #438309

    Right. 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 Moderator
    #438315

    Hi,
    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 Friend
    #438321

    The 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 Moderator
    #438323

    Hi,

    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!

Viewing 8 posts - 1 through 8 (of 8 total)

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