Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • panianni Friend
    #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/


    1. Social-Ok-modul
    2. Social-Ok
    3. Social-not-ok
    4. Social-not-ok-2
    Pankaj Sharma Moderator
    #553489

    Hello 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/4xp522

    if 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 in

    Go 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 .

    panianni Friend
    #553573

    Thank you!

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

This topic contains 3 replies, has 2 voices, and was last updated by  panianni 10 years ago.

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