test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • glucosillo Friend
    #203586

    Hello, In the module “recent projects” I would like to change the “view all”. In his place I want to insert a little image, with no links. How can I do it?

    Actual

    Desired

    Many thanks


    1. actual
    2. desired
    Ninja Lead Moderator
    #558791

    In this case, you have to custom it from php code on templates/ja_sugite/html/mod_articles_category/projects.php file

    find and change

    <div class="project-item project-item-more">
    <h3><?php echo JText::_('TPL_RECENT_PROJECTS'); ?></h3>
    <a class="btn btn-border btn-lg" href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>"><span><?php echo JText::_('TPL_VIEW_ALL'); ?></span></a>
    </div>

    to

    <div class="project-item">
    <div class="article-img">
    <div class="img-intro">
    <img src="/images/joomlart/demo/porfolio/amarillo.jpg" alt="">
    </div>
    </div>
    <div class="article-content">
    <h4>
    Curabitur elementum tortor
    </h4>
    </div>
    </div>

    With image path: /images/joomlart/demo/porfolio/amarillo.jpg

    glucosillo Friend
    #558830

    It works fantastic.

    Many Thanks, and Merry Christmas

    glucosillo Friend
    #558910

    Hello again…

    I have seen it now.. with the correction in the code, it appears a strange character at the end of the tittle of the articles.. I send a print screen. Can you help me?


    1. Captura
    Ninja Lead Moderator
    #559037

    I’m not sure what did you change on your site but I have duplicated the customization on your site and you can get it from my attachment file and copy it into templates/ja_sugite/html/mod_articles_category/projects.php file


    1. projects.zip
    glucosillo Friend
    #559057

    <em>@Ninja Lead 458055 wrote:</em><blockquote>I’m not sure what did you change on your site but I have duplicated the customization on your site and you can get it from my attachment file and copy it into templates/ja_sugite/html/mod_articles_category/projects.php file</blockquote>

    I cannot find what have I done wrong, but now with your file works right.

    Thanks and happy xmas

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

This topic contains 6 replies, has 2 voices, and was last updated by  glucosillo 10 years ago.

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