Support Forums

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

Your Time: Our Time:

How to add new social icon inside Helix3

Featured Lock Resolved Accepted
Please following the below instruction for adding icon of Instagram inside Helix3.

1. Go to the below file location & open this file templateDetails.xml
templates/shaper_cuisine/templateDetails.xml
2. Add this line of code inside templateDetails.xml file
http://prntscr.com/eb1h2t

<field name="instagram" type="text" label="HELIX_SOCIAL_ICON_INSTAGRAM"
description="HELIX_SOCIAL_ICON_INSTAGRAM_DESC"
class="child social_icons social_icons_1"/>

3. Go to the below file location & open social.php file
templates/shaper_cuisine/features/social.php
4. Add this code
http://prntscr.com/eb1i1a

$instagram = $this->helix3->getParam('instagram');

5. And add another code inside social.php bottom of the file
http://prntscr.com/eb1j27

if( $instagram ) {
$html .= '<li><a href="instagram:'. $instagram .'?chat">
<i class="fa fa-instagram"></i></a></li>';
}

6. Go to the below file location & open this file en-GB.tpl_shaper_cuisine.ini & add this line
language/en-GB/en-GB.tpl_shaper_cuisine.ini

HELIX_SOCIAL_ICON_INSTAGRAM="Instagram"



-Thanks

4 Answers

amdpapa

More than a month ago #Permalink
thx

Toufiq - Staff

More than a month ago #Permalink
thx


You are most welcome & Thanks

Ubaerto

More than a month ago #Permalink
Hi

In my template "Shaper_macro" is Helix2. In Helix3 there is an optional field for custom social icon, right?

How can I update to Helix3? Or is there another solution to add another social icon?

Thanks
Urs

Toufiq - Staff

More than a month ago #Permalink
Hi,

For update Helix3.

Extension > Manage > Update > find update

https://prnt.sc/gpblms

For the new social icon, you can follow the same process that i have elaborate my post.

-Thanks


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: 118
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 91
Toufiq

Toufiq

Total Accepted Answers: 32
Al Mamun

Al Mamun

Total Accepted Answers: 3
J

johnny

Total Accepted Answers: 3

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