VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: extra social icon

extra social icon 09 Aug 2016 13:40 #9254

I want to add an additional social icon (instagram).
how is this possible?
Last Edit: 09 Aug 2016 14:58 by vanlonderseele.

Re: extra social icon 10 Aug 2016 03:00 #9259

You can edit file templates/jf_creativia/templateDetails.xml, add field at line 92:
 
<field name="instagram" type="text" default="" size="30" label="Instagram URL " description="" />
 

Edit file templates/jf_creativia/index.php, at line 323 add:
 
<?php if ($this->params->get('instagram') != '') : ?>
<li><a target="_blank" id="instagram" title="Visit us >params->get('instagram') ?>">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/social-icons/instagram.png" alt="" />
</a></li>
<?php endif; ?>
 

In Template Manager, enter Instagram URL and save.

joomfreak

  • Posts:2144
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.43 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.