1. brianv1
  2. Finance
  3. Friday, 01 June 2018
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
Accepted Answer
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. Finance
  3. # Permalink
Responses (6)
Accepted Answer Pending Moderation
Hi there,

Share a screenshot that you want to do exactly.

-Thanks
  1. more than a month ago
  2. Finance
  3. # 1
Accepted Answer Pending Moderation
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)
  1. more than a month ago
  2. Finance
  3. # 2
Accepted Answer Pending Moderation
Hi Sifat

I did get where to put the language code,
But which file name to put code 1) ? and location please ?
  1. more than a month ago
  2. Finance
  3. # 3
Accepted Answer Pending Moderation
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 ;)
  1. more than a month ago
  2. Finance
  3. # 4
Accepted Answer Pending Moderation
You are most welcome
  1. more than a month ago
  2. Finance
  3. # 5


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.