Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dageraad Friend
    #205792

    Hi,

    I used the Top places – ACM Module on my site dvfoods.mascomm.be (for news items at the bottom of the homepage). In the backend I want to specify 2 different images for intro image and artice image. But this doesn’t seem to be possible, the article image always goes back to the same image as the intro. Even when I don’t specify a article image, it keep showing the intro image.

    Can someone help me with this issue? thanks

    Saguaros Moderator
    #568396

    Hi @dageraad,

    You can try opening file: templatesja_hotelhtmllayoutsjoomlacontentitemdefault.php

    Look for this snippet of code:


    <?php if(json_decode($item->images)->image_intro): ?>
    <section class="article-intro-media">
    <?php echo JLayoutHelper::render('joomla.content.image.intro', $displayData); ?>
    <?php $title = $item->category_title; ?>
    </section>
    <?php endif; ?>

    change it to:


    <?php if(json_decode($item->images)->image_fulltext): ?>
    <section class="article-intro-media">
    <?php echo JLayoutHelper::render('joomla.content.fulltext_image', $displayData); ?>
    <?php $title = $item->category_title; ?>
    </section>
    <?php endif; ?>

    Remember to backup the old file first before changing.

    Hope this helps!

    Saguaros Moderator
    #733492

    Hi @dageraad,

    You can try opening file: templatesja_hotelhtmllayoutsjoomlacontentitemdefault.php

    Look for this snippet of code:


    <?php if(json_decode($item->images)->image_intro): ?>
    <section class="article-intro-media">
    <?php echo JLayoutHelper::render('joomla.content.image.intro', $displayData); ?>
    <?php $title = $item->category_title; ?>
    </section>
    <?php endif; ?>

    change it to:


    <?php if(json_decode($item->images)->image_fulltext): ?>
    <section class="article-intro-media">
    <?php echo JLayoutHelper::render('joomla.content.fulltext_image', $displayData); ?>
    <?php $title = $item->category_title; ?>
    </section>
    <?php endif; ?>

    Remember to backup the old file first before changing.

    Hope this helps!

    rosymera Friend
    #922698

    thank you very much could solve my problem

    Saguaros Moderator
    #922745

    You’re welcome!!!

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 8 years, 7 months ago.

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