From 0a89f7353c37743da89d1e355e0279556c125789 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Mon, 27 Nov 2017 22:51:35 +0800 Subject: [PATCH 1/2] Added support for instagram social icon --- template/en-GB.tpl_shaper_helix3.ini | 2 + template/features/social.php | 6 + template/templateDetails.xml | 1009 +++++++++++++------------- 3 files changed, 513 insertions(+), 504 deletions(-) diff --git a/template/en-GB.tpl_shaper_helix3.ini b/template/en-GB.tpl_shaper_helix3.ini index 7aa3d77..e71d5d4 100755 --- a/template/en-GB.tpl_shaper_helix3.ini +++ b/template/en-GB.tpl_shaper_helix3.ini @@ -95,6 +95,8 @@ HELIX_SOCIAL_ICON_VK="VK Username" HELIX_SOCIAL_ICON_VK_DESC="Input the full URL to your VK profile page." HELIX_SOCIAL_ICON_CUSTOM="Custom" HELIX_SOCIAL_ICON_CUSTOM_DESC="Insert your custom url with fontawesome icon, eg. fa-facebook http://joomshaper.com" +HELIX_SOCIAL_ICON_INSTAGRAM="Instagram URL" +HELIX_SOCIAL_ICON_INSTAGRAM_DESC="Input the full URL to your Instagram page." ;Contact Info HELIX_CONTACT_INFO="Contact Information" diff --git a/template/features/social.php b/template/features/social.php index ecbb6ee..ef9ef9c 100755 --- a/template/features/social.php +++ b/template/features/social.php @@ -34,6 +34,7 @@ public function renderFeature() { $flickr = $this->helix3->getParam('flickr'); $vk = $this->helix3->getParam('vk'); $custom = $this->helix3->getParam('custom'); + $instagram = $this->helix3->getParam('instagram'); if( $this->helix3->getParam('show_social_icons') && ( $facebook || $twitter || $googleplus || $pinterest || $youtube || $linkedin || $dribbble || $behance || $skype || $flickr || $vk ) ) { $html = '