Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Radonja Djurisic Friend
    #195358

    how to set images thumbnails in article like this

    and not to call Alternative Layout: “default-photo”

    i just want to evade this share on and buy on amazon


    1. image
    Saguaros Moderator
    #525040

    @tolja,

    It’s a must to select ‘default-photo’ as Alternative layout to have image thumbnail as in article details page. If you don’t want to use ‘default-photo’ layout, you need to use a 3rd party extension which helps to display image that way.

    For the share on Amazon and buy on Amazon button, you can open the file: templatesja_muzichtmlcom_contentarticledefault-photo.php and look for this snippet of code:


    <?php if(isset($metadata->jcontent_amazonsell) && $metadata->jcontent_amazonsell !='' ) : ?>
    <a class="btn btn-source btn-buy" href="<?php echo $metadata->jcontent_amazonsell;?>"><?php echo JText::_('TPL_BUY_ON_AMAZON'); ?></a>
    <?php endif;?>
    <button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
    <div class="modal hide fade" id="myModal">
    <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
    <h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>

    Then you can remove it as you want.

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, 8 months ago.

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