Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • antoniosan Friend
    #183136

    Hello there,

    I would like to know the better way to do the following changes in JA SOCIAL template:

    First: we want to completely remove the last update details and just leave the date (see image date1).

    Second: We need to change the date format that now although the day name is translating to Spanish correctly, the formatting still for
    English (see image date2)

    Now it is showing: Sábado, 12 15th (Day, month day number)

    Date its ok, but we need to change to the Spanish formatting that would be:

    Sábado 15 Dic 2012 (Day name/day number/month/year)

    Or better yet to:

    Sábado 15 de Diciembre de 2012

    (Translation to English would be: Saturday 15 of December of 2012).

    Any idea?

    Thanks in advance.


    1. date1
    2. date2
    Ninja Lead Moderator
    #476637

    We can not option disable LAST UPDATE on system but you can disable on this way:
    <blockquote>Open templates/ja_social/blocks/topbar.php file</blockquote>
    find and remove this script

    <?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?>

    About change format date to Sábado 15 Diciembre 2012
    <blockquote>Open templates/ja_social/blocks/topbar.php file</blockquote>
    from

    <?php
    echo "<span class="day">".JText::_(strtoupper(date ('l')))."</span>";
    echo "<span class="date">, ".date ('m')." ".date ('d').date ('S')."</span>";
    ?>

    change to

    <?php
    echo "<span class="day">".JText::_(strtoupper(date ('l')))."</span>";
    echo "<span class="date">, ".date ('d')." ".date ('F')." " .date ('Y')."</span>";
    ?>

    antoniosan Friend
    #476686

    Hello NInja,

    It worked very fine, thanks a lot!

    Can you tell me where is the file in order to translate the month name “December” to: “Diciembre” and how to remove the ” | ” that remain on top panel? (Please see attached image.)

    Thanks again for your help!


    1. top-panel-modification
    antoniosan Friend
    #476711

    Hello there,

    I already found the solution to my last doubts.

    Tnahks for your attention.

    ¡Topic closed!

    erdincos Friend
    #507427

    can you tell me your solution pls?

    Saguaros Moderator
    #507458

    Hi erdincos,

    Do you mean this?

    <blockquote>how to remove the ” | ” that remain on top panel?</blockquote>

    It’s a background gif image, you can open file: /templates/ja_social/css/template.css, at approx line 706, you will see this css rule:


    #ja-topbar .ja-day {
    background: url("../images/sep-w.gif") no-repeat scroll right center rgba(0, 0, 0, 0); << remove this property
    display: block;
    float: left;
    margin-left: 15px;
    padding-right: 10px;
    }

    Then clean JAT3 cache in backend.

    bigmagic2014 Friend
    #536275

    I would like to swap out the icons associated with the titles in the Top Panel.

    Can someone tell me where these icons are or how to replace them?

    Thanks

    alexsmirnov Friend
    #536277

    @bigmagic2014,

    Could you please provide us with a screenshot of the icons and titles you are talking about?

    Regards,

    Alex

    bigmagic2014 Friend
    #536287

    Thanks for getting back so quick. 😎

    Here’s a px of what I’d like to swap out.


    1. items_to_change
    alexsmirnov Friend
    #536302

    Please go to /templates/ja_social_t3/images/icons and your images from left to right are: discussion.png, blog.png, opinion.png and communication.png.

    Hope this helps

    Regards

    Alex

    bigmagic2014 Friend
    #536307

    Way to go Alex!!

    BTW: know if there is a suggested dimension for replacement png’s, or do we just eyeball it up?

    Thnx
    Big Magic

    alexsmirnov Friend
    #536317

    One of the four images is 22×22 and the rest are 25×25 so imho you should be able to play it along those dimensions but we have two JoomlArt core developers in this thread for you.

    Let’s wait what Ninja Lead and Saguaros say.

    Regards,

    Alex

    Saguaros Moderator
    #536342

    These dimensions we use for our demo site, you can replace with value that you’re comfortable with 🙂

    bigmagic2014 Friend
    #536394

    Thanks bunch guys, those new dimensions really helped out.

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

This topic contains 14 replies, has 6 voices, and was last updated by  bigmagic2014 10 years, 6 months ago.

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