test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kmkmedia Friend
    #198888

    Hello,

    I have two modules displaying 3 articles from a certain category(just like what is in the quickstart). I am able to change what the button says on the homepage for both of them by using the language file. I was wondering how I can make it so that they say something different. I want the “Our Story” button to say “Learn more” and the “Featured Homes” to say “View all homes”. Right now they both say “View all homes”.

    Thanks,
    Shaun

    Saguaros Moderator
    #539155

    Hi Shaun,

    You can try with my workaround here:

    – Go to file: templatesja_decorhtmlmod_articles_categorytriangle.php
    – Look for this line of code:
    [PHP]<a class=”btn btn-primary btn-icon” href=”<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>”><?php echo JText::_(‘VIEW_ALL’); ?> <i class=”fa fa fa-long-arrow-right”></i></a>[/PHP]

    change it to:
    [PHP]<a class=”btn btn-primary btn-icon” href=”<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>”><?php echo JText::_(‘VIEW_LEARN_MORE’); ?> <i class=”fa fa fa-long-arrow-right”></i></a>[/PHP]

    – Then you open the language file that you made change and add this new text field:
    VIEW_LEARN_MORE = “Learn more”

    Hope this helps.

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

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

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