-
AuthorPosts
-
willer Friend
willer
- Join date:
- February 2015
- Posts:
- 275
- Downloads:
- 21
- Uploads:
- 52
- Thanks:
- 1
- Thanked:
- 10 times in 1 posts
April 17, 2015 at 9:33 pm #205627This 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
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 19, 2015 at 8:00 pm #567522Hi
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
-
willer Friend
willer
- Join date:
- February 2015
- Posts:
- 275
- Downloads:
- 21
- Uploads:
- 52
- Thanks:
- 1
- Thanked:
- 10 times in 1 posts
April 19, 2015 at 9:18 pm #567526Already with the first solution I solved it, I have to do the second ?
willer Friendwiller
- Join date:
- February 2015
- Posts:
- 275
- Downloads:
- 21
- Uploads:
- 52
- Thanks:
- 1
- Thanked:
- 10 times in 1 posts
April 19, 2015 at 9:18 pm #732636Already with the first solution I solved it, I have to do the second ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 19, 2015 at 9:23 pm #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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 19, 2015 at 9:23 pm #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
-
AuthorPosts
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
Jump to forum