Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • willer Friend
    #205627

    This page should be built a post I created on google +. Strangely, you can not see, I can not understand why. To better understand enclose two full screenshot of the online site with the old template and one remotely with the template JA Teline V.

    For embedding google + gave me this code

    <!-- Place this tag in your head or just before your close body tag. -->
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

    <!-- Place this tag where you want the widget to render. -->
    <div class="g-post" data-href="https://plus.google.com/113244155104777758882/posts/NrozgAvWnUz"></div>

    Thanks


    1. Screenshot
    2. Screenshot2
    pavit Moderator
    #567522

    Hi

    Try to do in this way

    1) add this script <script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script> inside template manager > Your default template > Custom code tab

    2) Edit this file templatesja_teline_vhtmlcom_contentarticledefault.php at the end ( around line 40 )

    <?php if (JATemplateHelper::countModules ('article-bottom')): ?>
    <div class="item-row row-bottom">
    <?php echo JATemplateHelper::renderModules('article-bottom') ?>
    </div>
    <?php endif ?>
    <div class="g-post" data-href="https://plus.google.com/113244155104777758882/posts/NrozgAvWnUz"></div>
    <?php endif ?>

    Add the script in RED

    Here result on my test page


    1. Screenshot_10
    2. Screenshot_11
    willer Friend
    #567526

    Already with the first solution I solved it, I have to do the second ?

    willer Friend
    #732636

    Already with the first solution I solved it, I have to do the second ?

    pavit Moderator
    #567527

    <em>@willer 469333 wrote:</em><blockquote>Already with the first solution I solved it, I have to do the second ?</blockquote>

    No if it works fine already

    pavit Moderator
    #732637

    <em>@willer 469333 wrote:</em><blockquote>Already with the first solution I solved it, I have to do the second ?</blockquote>

    No if it works fine already

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

This topic contains 6 replies, has 2 voices, and was last updated by  pavit 9 years ago.

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