Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • piojo777 Friend
    #205827

    I would like to add a banner between each home section. Like the image attached.

    I tryed editing the file templates/ja_teline_v/acm/news-list/tmpl/style-1.php
    I have added this code;
    [PHP]
    <?php
    $position = “banner-cat” . $index;
    echo $helper->renderModules($position) ;
    ?>
    [/PHP]
    Before the endforeach but the three banners shows together after the first section.

    Can you help me?
    Thanks


    1. preview
    2. preview2
    Ninja Lead Moderator
    #568508

    That’s news-home position and you can add new banner module on it and order by it between other modules.

    piojo777 Friend
    #568520

    I probably did not explain myself well. The English language is not my main language.
    I want to add a banner between the categories module “Advanced Custom JoomlArt module” with style “Magazine – Listing Category: style-1”. Like this:
    ? Articles Category
    ? Banner
    ? Articles Category
    ? Banner
    ? Articles Category
    ? Banner
    I have added this code before the endforeach from this file “templates/ja_teline_v/acm/news-list/tmpl/style-1.php”:
    <? php
    *** $ position = “banner-cat”. $ index;
    *** echo $ helper-> renderModules ($ position);
    ?>
    But the modules appear together after the first category.
    If I add any other code, like and empty div, it works fine. The problem is when I want to add a module position.
    Let me know if I explain myself better.

    Ninja Lead Moderator
    #568703

    I tried to duplicate the problem of you mentioned above but I could not reproduce it.

    Please pm me URL of your site and admin login, I will check that issue directly on your site.

    piojo777 Friend
    #568832

    Hi, I solved my problem. It was a mistake I made.
    Adding the code to that file made what I needed.
    Regards

    piojo777 Friend
    #733925

    Hi, I solved my problem. It was a mistake I made.
    Adding the code to that file made what I needed.
    Regards

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

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

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