-
AuthorPosts
-
Radonja Djurisic Friend
Radonja Djurisic
- Join date:
- September 2014
- Posts:
- 316
- Downloads:
- 180
- Uploads:
- 113
- Thanks:
- 66
- Thanked:
- 72 times in 15 posts
March 2, 2014 at 4:42 am #195358how 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
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 3, 2014 at 8:20 am #525040It’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.
1 user says Thank You to Saguaros for this useful post
AuthorPostsViewing 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
Alternative Layout
Viewing 2 posts - 1 through 2 (of 2 total)