Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Instagram, social share

Featured Lock Resolved Issue
Is it possible to add instagram to the Blog - social share, in template ?
And if so, - how do I do it ?
I need the icon to be visible next to, FB, twitter, G+ and IN, in article view

7 Answers

Sifat - Staff

More than a month ago #Permalink
Hi Sifat

I did get where to put the language code,
But which file name to put code 1) ? and location please ?

Upss,
sorry for the mistake.
please go to this link location templates/shaper_finance/html/layouts/joomla/content/social_share/share.php
and add those code there.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Share a screenshot that you want to do exactly.

-Thanks

Sifat - Staff

More than a month ago #Permalink
Hi,
Please follow the steps:
1) use this code in this location and the marked place of the attachment

<li>
<div class="instagram">
<a class="instagram" data-toggle="tooltip" data-placement="top" title="<?php echo JText::_('HELIX_SHARE_INSTAGRAM'); ?>" onClick="window.open('https://www.instagram.com/shareArticle?mini=true&url=<;?php echo $url; ?>','Instagram','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="https://www.instagram.com/shareArticle?mini=true&url=<?php echo $url; ?>" >
<i class="fa fa-instagram"></i>
</a>
</div>
</li>


2) Then go to this link location language/en-GB/en-GB.tpl_shaper_finance.ini
then just add the line HELIX_SHARE_INSTAGRAM="Share On Instagram"
on the marked place of language.png


-Thanks

Attachments (2)

  • test 2.38.56 PM.png
    test 2.38.56 PM.png 104 KB
  • language.png
    language.png 104.3 KB

brianv1

More than a month ago #Permalink
Hi Sifat

I did get where to put the language code,
But which file name to put code 1) ? and location please ?

brianv1

More than a month ago #Permalink
Hi Sifat

I did get where to put the language code,
But which file name to put code 1) ? and location please ?

Upss,
sorry for the mistake.
please go to this link location templates/shaper_finance/html/layouts/joomla/content/social_share/share.php
and add those code there.

-Thanks


Hi Sifat
Thank you for your help. The code work perfectly.
Unfortunatly I just found out that Instagram do not allow social share from websites, so It was waste of energy.

Anyway. I learnt where the code of social share is located ;)

Sifat - Staff

More than a month ago #Permalink
You are most welcome


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 135
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 120
Toufiq

Toufiq

Total Accepted Answers: 65
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us