Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • niklasalbin Friend
    #1079197

    Hi, is there a way of getting the title of a module to show above each module on the homepage using the JA Oslo template? (For those modules in the t3-content-bottom position)

    For example, in the demo, having the words ‘highlight’, ‘popular’, ‘video list’, and ‘recent’ appear as titles above each of the respective modules.

    Changing the ‘Show Title’ setting to ‘show’ in the module settings doesn’t seem to help in this respect.

    Thanks

    Saguaros Moderator
    #1079333

    Hi,

    ‘Popular, Video List, Recently’ are module titles of those modules themselves. If you want to have these titles appear above content of each module also, you can try this tweak:

    1) Go to file: [root]/templates/ja_oslo/html/modules.php
    2) Above this line of code:

    echo $rendermodule->content;

    Add this code:

    echo '<div class="module-title-home">';
    echo '<a href="#'.$rendermodule->id.'" title="'.$rendermodule->title.'">'.$rendermodule->title.'</a>';
    echo '</div>';

    It will look like this: http://prntscr.com/hjodw2

    Then you will need to style for those titles text.

    Regards

    niklasalbin Friend
    #1079432

    Thanks, that’s exactly what I was looking for.

    On a related note: it seems like the module title for the "HIGHLIGHT" section of the homepage is automatically generated. Is there a way of editing the text of this title? E.g. to change it from "HIGHTLIGHT" to "FEATURED".

    Saguaros Moderator
    #1079539

    It’s a language string so you can change via language file of template: root/language/en-GB/en-GB.tpl_ja_oslo.ini

    TPL_HIGHLIGHT       ="Highlight"
Viewing 4 posts - 1 through 4 (of 4 total)

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

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