Support Forums

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

Your Time: Our Time:

Instagram Network

Featured Lock Resolved Bug
How can I add the instagram network in the template settings?
No field available

Attachments (2)

  • 12345.PNG
    12345.PNG 146.1 KB
  • 3456.PNG
    3456.PNG 14.4 KB

2 Answers

Shibbir

More than a month ago #Permalink
Hello there,

Currently there is no option to add this but you can directory modify the code:


<?php
/**
* @package Helix3 Framework
* @author JoomShaper http://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2015 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
//no direct accees
defined ('_JEXEC') or die('resticted aceess');

class Helix3FeatureSocial {

private $helix3;
public $position;

public function __construct( $helix3 ){
$this->helix3 = $helix3;
$this->position = $this->helix3->getParam('social_position');
}

public function renderFeature() {

$facebook = $this->helix3->getParam('facebook');
$twitter = $this->helix3->getParam('twitter');
$googleplus = $this->helix3->getParam('googleplus');
$pinterest = $this->helix3->getParam('pinterest');
$youtube = $this->helix3->getParam('youtube');
$linkedin = $this->helix3->getParam('linkedin');
$dribbble = $this->helix3->getParam('dribbble');
$behance = $this->helix3->getParam('behance');
$skype = $this->helix3->getParam('skype');
$flickr = $this->helix3->getParam('flickr');
$vk = $this->helix3->getParam('vk');

if( $this->helix3->getParam('show_social_icons') && ( $facebook || $twitter || $googleplus || $pinterest || $youtube || $linkedin || $dribbble || $behance || $skype || $flickr || $vk ) ) {
$html = '<ul class="social-icons">';

if( $facebook ) {
$html .= '<li><a target="_blank" href="'. $facebook .'"><i class="fa fa-facebook"></i></a></li>';
}
if( $twitter ) {
$html .= '<li><a target="_blank" href="'. $twitter .'"><i class="fa fa-twitter"></i></a></li>';
}
if( $googleplus ) {
$html .= '<li><a target="_blank" href="'. $googleplus .'"><i class="fa fa-google-plus"></i></a></li>';
}
if( $pinterest ) {
$html .= '<li><a target="_blank" href="'. $pinterest .'"><i class="fa fa-pinterest"></i></a></li>';
}
if( $youtube ) {
$html .= '<li><a target="_blank" href="'. $youtube .'"><i class="fa fa-youtube"></i></a></li>';
}
if( $linkedin ) {
$html .= '<li><a target="_blank" href="'. $linkedin .'"><i class="fa fa-linkedin"></i></a></li>';
}
if( $dribbble ) {
$html .= '<li><a target="_blank" href="'. $dribbble .'"><i class="fa fa-dribbble"></i></a></li>';
}
if( $behance ) {
$html .= '<li><a target="_blank" href="'. $behance .'"><i class="fa fa-behance"></i></a></li>';
}
if( $flickr ) {
$html .= '<li><a target="_blank" href="'. $flickr .'"><i class="fa fa-flickr"></i></a></li>';
}
if( $vk ) {
$html .= '<li><a target="_blank" href="'. $vk .'"><i class="fa fa-vk"></i></a></li>';
}
if( $skype ) {
$html .= '<li><a href="skype:'. $skype .'?chat"><i class="fa fa-skype"></i></a></li>';
}

$html .= '<li><a href="http://instagram.com"><i class="fa fa-instagram"></i></a></li>';

$html .= '</ul>';

return $html;
}

}
}


It's social.php code: Go to templates/shaper_xx/features/social.php file and then paste it. But don't forget to change this line liink address:

$html .= '<li><a href="http://instagram.com"><i class="fa fa-instagram"></i></a></li>';

Thanaks .

Marcos

More than a month ago #Permalink
Thank you very much, resolved


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

Paul Frankowski

Total Accepted Answers: 119
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 5
Mohammed Ahmed

Mohammed Ahmed

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