Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • unvacancier Friend
    #188149

    Hello,

    Where can i translate in French the date YYYY-MM-DD to DD-MM-YYYY , “on” to “Le” and VIEWS to “vues” ?

    I have two modules when i click on the link the article is in content but all the modules are kept on the homepage so my article is at the bottom.

    Thanks (sorry for my poor english)


    1. Capture1
    2. Capture2
    Ninja Lead Moderator
    #495633

    This way will help you change date and text on “Module Articles Category”

    + Change date to d-m-Y, see the screenshot

    + Change text:

    Open templates/ja_mitius/html/mod_articles_category/features.php file

    find


    <?php if ($item->displayDate) : ?>
    <span class="mod-articles-category-date">
    <strong>on</strong><?php echo $item->displayDate; ?>
    </span>
    <?php endif; ?>

    <?php if ($item->displayHits) :?>
    <span class="mod-articles-category-hits">
    <?php echo $item->displayHits; ?> views
    </span>
    <?php endif; ?>

    change to


    <?php if ($item->displayDate) : ?>
    <span class="mod-articles-category-date">
    <strong>Le</strong><?php echo $item->displayDate; ?>
    </span>
    <?php endif; ?>

    <?php if ($item->displayHits) :?>
    <span class="mod-articles-category-hits">
    <?php echo $item->displayHits; ?> vues
    </span>
    <?php endif; ?>

    And latest your problem: In Joomla, if you want to view article individually, that article must be assigned to a menu item.

    pls create a new menu item (or use an existing one) and assign article (or category that article belongs to) to this new menu item

    and also make sure that you don’t assign any module to this menu item.


    1. set_date
    unvacancier Friend
    #495779

    Thanks for replying with the good answer 😉

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

This topic contains 3 replies, has 2 voices, and was last updated by  unvacancier 11 years, 5 months ago.

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