0
Welcome Guest! Login
0 items Join Now

SOLVED Grunge: Article date format

    • Joomla AZ's Avatar
    • Joomla AZ
    • Jr. Rocketeer
    • Posts: 49
    • Thanks: 0

    SOLVED Grunge: Article date format

    Posted 14 years 9 months ago
    • On the Grunge template there is a class 'floatleft' or 'floatright' that will put a background around a picture, shows like it's taped to the picture, also shows a torn sheet taped to the opposite side with the date. That date format is different than the default system date, which in my case is also showing on the article. The Article date shows correctly. (displayed as formatted in the parameters.ini file). It's the torn sheet format that is different, where is that coming from?

      Thanks for any help you can give.

      www.mickmartin.info

      -Fred
    • Last Edit: 14 years 9 months ago by Joomla AZ.
    • OnewayPublishing
      OnewayHosting
    • punaboy's Avatar
    • punaboy
    • Jr. Rocketeer
    • Posts: 29
    • Thanks: 0

    Re: SOLVED Grunge: Article date format

    Posted 14 years 9 months ago
    • Go to your template folder: grunge > html > com_content > frontpage > default_item

      in that default_item file look for: DATE_FORMAT (there will be a few, post date, create date, etc)

      You will also see LC1, LC2, LC3, etc after the date format. Change the number so it will display the date style you want on frontend.

      depending on your setup you may have to change/add to your main language file > en-GB.ini (english).

      This is my setup for the .ini file...
      DATE_FORMAT_LC=%B %d, %Y
      DATE_FORMAT_LC0=%A, %B %d, %Y
      DATE_FORMAT_LC1=%a, %b %d, %Y
      DATE_FORMAT_LC2=%A, %d %B %Y %H:%M
      DATE_FORMAT_LC3=%d %B %Y
      DATE_FORMAT_LC4=%d.%m.%y
      DATE_FORMAT_JS1=y-m-d
      %Y-%M-%D=%Y-%M-%D
      %A, %B %E=%A, %B %e

      http://php.net/manual/en/function.date.php

      You can change the date format to frontpage, sections, categories and articles by going into the appropriate template html folder. (same as how I directed for your frontpage) Some files may not have the LC# call, instead have the direct date format setup.

    • AlohaValley.com
      Your Island Connection In Las Vegas
    • Joomla AZ's Avatar
    • Joomla AZ
    • Jr. Rocketeer
    • Posts: 49
    • Thanks: 0

    Re: SOLVED Grunge: Article date format

    Posted 14 years 9 months ago
    • Cool. That fixed it. All I had to do was edit the en-GB.ini file.
    • OnewayPublishing
      OnewayHosting

Time to create page: 0.055 seconds