Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Hermano Developer
    #1079296

    Hi!

    I’m having a problem that i don’t know how to solve… Some of my Categories have long names and i can’t reduce them, so it shows the USER/AUTHOR | Category name | Data in 2 lines instead of 1. What do you suggest me to do?

    Can i change the date format to try to reduce the extension of the line?

    Thank you so much

    • This topic was modified 7 months, 1 week ago by  Hermano.

    1. xpto
    Saguaros Moderator
    #1079374

    Hi,

    You’re right, the space will be not enough to show long name. You can change the font of info displaying in that part: author name / category title / data.

    But it’s better if you change the date format. To do this, you can download attached file > unzip and copy it to this directory: [root]/templates/ja_focus/html/layouts/joomla/content/info_block/

    Open the file ‘create_date.php’ you just copied, you will see that it’s using DATE_FORMAT_LC3 format.

    The date format is declared here: [root]/language/en-GB/en-GB.ini

    You can look for this line: DATE_FORMAT_LC3="d F Y"

    and change to the desired format.

    You can view the complete list of PHP date formats here: http://nl3.php.net/manual/en/function.date.php

    Regards

    • This reply was modified 7 months, 1 week ago by  Saguaros.

    1. create_date.php_.zip
    Hermano Developer
    #1079384

    Thank you but where is the attached file?

    Saguaros Moderator
    #1079387
    This reply has been marked as private.
    Hermano Developer
    #1079496

    Sorry,
    I wasn’t well succeeded 🙁

    I’m using Portuguese translation and i’d like the following format:

    dd.mm.yyyy

    (06.12.2017)

    Thanks for all your help

    Saguaros Moderator
    #1079536

    Kindly share admin + ftp account of your site, I will check for you.

    Hermano Developer
    #1079788
    This reply has been marked as private.
    Saguaros Moderator
    #1079833

    My above suggestion is applied to English, if you want to apply for Portuguese (pt-PT), you need to edit the associated language file of template in portuguese:

    [root]/language/pt-PT/pt-PT.ini

    I edited this line: DATE_FORMAT_LC3="d.m.Y" . It’s showing fine now, kindly check.

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

This topic contains 7 replies, has 2 voices, and was last updated by  Saguaros 7 months, 1 week ago.

We moved to new unified forum. Please post all new support queries in our New Forum