-
AuthorPosts
-
lg21 Friend
lg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
April 6, 2015 at 9:42 am #205314I installed a plugin bt social share for the sharing of items, since the module installed in the template is only visible in the desktop version and not in the mobile version.
The plugin gives me the opportunity to decide to place the buttons before or after the article text. But if I say after, do not put it at the end of the article, but after more, how can I fix?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
April 7, 2015 at 12:38 pm #566111I tried with various plugins and the result is always the same, if I say to put the buttons below to share this article puts it after more and not at the end of the article text. I do ask all developers of the various plugin?
In the template jateline V sharing news is only for the desktop version, the mobile version no. If there was this possibility certainly did not go looking around some plugin.
We purchase your template but then we must be the choices of our customers, and if the customer asks me to share the news in the mobile version I have to give him that chance.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 8, 2015 at 4:31 pm #566342Hi @lg21,
In this case, we can just move the sharing buttons from sidebar and place them below article text instead. Please open file templatesja_teline_vhtmllayoutsjoomlacontentitemdefault.php and cut (we will move it) this code :
<?php if ($sharing_tools): ?>
<?php echo JLayoutHelper::render('joomla.content.sharing_tools', array()); ?>
<?php endif ?>then look for this code :
<?php if ($useDefList && in_array($positions, array(1, 2))) : ?>
<footer class="article-footer">
<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $item, 'params' => $params, 'position' => 'below')); ?>
</footer>
<?php endif; ?>and paste the previous code above it as below :
<?php if ($sharing_tools): ?>
<?php echo JLayoutHelper::render('joomla.content.sharing_tools', array()); ?>
<?php endif ?><?php if ($useDefList && in_array($positions, array(1, 2))) : ?>
<footer class="article-footer">
<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $item, 'params' => $params, 'position' => 'below')); ?>
</footer>
<?php endif; ?>1 user says Thank You to Adam M for this useful post
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
April 9, 2015 at 2:18 pm #566477was not what I want, but it is a great alternative, because it works now the sharing buttons are also in the articles on the mobile version.
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
April 9, 2015 at 2:57 pm #566481I installed a plugin, this plugin gives me the ability to insert buttons for sharing above or below the article.
If I say as an option to put it on top of the article is all ok, but if I say below, instead of putting it at the end of the article, puts it after more, ignoring the rest of the text.
Your solution is a good solution. I wanted to understand not to have the duplicate module, you can delete it to the left and leave it under the article so that it viibile in both versions?
Thank You
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by lg21 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum