-
AuthorPosts
-
October 19, 2014 at 12:46 pm #202215
Hi!
Joomlart advises to use the service addthis. I want to use the service YaShare http://api.yandex.ru/share/
I put code to module nd choosed position “followus”.
Like at image
In the header of site its Ok.
Like at image
But at other parts of site does not work.
Like at images
Please help me!
my site http://stranakontrastov.ru/- Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 19, 2014 at 4:20 pm #553489Hello panianni
by default the add this code is used in this template .In all the parts . If you want to remove the code of add this
you can disable it from template manager>>JA Magz default>> General>> Addthis integration>>off
http://prntscr.com/4xp522if you want to edit the code and add any other Third d party integration on the place of addThis code in Category blog ,featured layout and single layout article .
Go to templates/ja_magz/html/com_content/article/default.php….
you can find<!-- AddThis Button BEGIN -->
<?php if($tplparams->get('tpl_addthis_share', 1)) : ?>
<a class="addthis_button_compact" addthis:url="<?php echo JUri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->item->readmore_link ?>" addthis:title="<?php echo $this->escape($this->item->title) ?>"> <?php echo JText::_('TPL_TEXT_SHARE') ?> <i class="icon-share"></i></a>
<?php endif ?>
<!-- AddThis Button END -->
and replace it with your code .
find the code for featured layout inGo to templates/ja_magz/html/com_content/featureed/default_item.php….
<!-- AddThis Button BEGIN -->
<?php if($tplparams->get('tpl_addthis_share', 1)) : ?>
<a class="addthis_button_compact" addthis:url="<?php echo JUri::getInstance()->toString(array('scheme', 'host', 'port')) . $link ?>" addthis:title="<?php echo htmlspecialchars($intro_title); ?>"> <?php echo JText::_('TPL_TEXT_SHARE') ?> <i class="icon-share"></i></a>
<?php endif ?>
Replace it with your code , do the same for other layout files .
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by panianni 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum