VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
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.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

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

TOPIC: Social

Social 03 Jul 2013 17:42 #2327

I have two questions about the social icons used in this tempate.
The first is about the templates parameter settings. I'd like to add an other socialaccount fe. Instagram. Could you provide this possibility?
Secondly, in the K2 Blog category it is possible to add socialsharebuttons like Google+, when assigned they don't show up. Could you please check?
Thanks, Roel
Love JOOMLA!

  • Posts:48
  • roel
  • Senior Boarder
  • OFFLINE
  • Karma: 0

Re: Social 03 Jul 2013 18:06 #2329

Social links:
-> You have to edit templates/jf_calla-exteriors/templateDetails.xml and add the new position in the params. (for example after "youtubelink")

<field name="yourcustomicon" type="radio" default="1"
label="Show your custom Icon"
description="Select an option">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
 
<field name="yourcustomlink" type="text" default=""
label="Your custom Link"
description="Please add your custom link here"
filter="string" />


-> You have to edit templates/jf_calla-exteriors/index.php and add the new code after youtubeicon (line 234)

<?php if ($templateparams->get('youtubeticon') && $templateparams->get('youtubelink') != '') : ?>
<li><a class="button-youtube" href="<?php echo $templateparams->get('youtubelink'); ?>" target="_blank"></a></li>
<?php endif; ?>
 
<?php if ($templateparams->get('yourcustomicon') && $templateparams->get('yourcustomlink') != '') : ?>
<li><a class="button-yourcustom" href="<?php echo $templateparams->get('yourcustomlink'); ?>" target="_blank"></a></li>
<?php endif; ?>


-> Now you have to edit templates/jf_calla-exteriors/css/template.css css style of your custom link (for example after "#jf-social li a.button-youtube")

#jf-social li a.button-youtube {
background: url(../images/youtube.png) no-repeat;
}
#jf-social li a.button-yourcustom{
background: url(../images/yourcustom.png) no-repeat;
}


Finally you copy the image "yourcustom.png" to templates/jf_calla-exteriors/images.
Than you go to the backend and can enable / disable your custom link and also set url.

For social of K2 in category view.. you should first check if this is possible...
Because this is not provided by K2. You need to place the code by your own in the K2 layout files.

templates/jf_calla-exteriors/html/com_k2/blog/category.php
templates/jf_calla-exteriors/html/com_k2/default/category.php
templates/jf_calla-exteriors/html/com_k2/portfolio/category.php
joomfreak | cause open source rocks
Last Edit: 03 Jul 2013 18:09 by joomfreak.
The following user(s) said Thank You: roel

  • Posts:188
  • cause open source rocks
  • joomfreak
  • Administrator
  • OFFLINE
  • Karma: 0

Re: Social 03 Jul 2013 20:14 #2339

Thanks! I will edit the files - About my second question, maybe my question wasn't put right. I attached a printscreen of the backendfile.

And maybe you let me now which iconpack you used for my first question
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
Love JOOMLA!
Last Edit: 03 Jul 2013 20:16 by roel. Reason: followup

  • Posts:48
  • roel
  • Senior Boarder
  • OFFLINE
  • Karma: 0

Re: Social 04 Jul 2013 07:37 #2349

I don´t understand.. what´s problem?
The parameter shows up. you have to make your own image and put it in images directory.
joomfreak | cause open source rocks

  • Posts:188
  • cause open source rocks
  • joomfreak
  • Administrator
  • OFFLINE
  • Karma: 0

Re: Social 29 Sep 2013 16:20 #3042

I'm so very sorry, I will ask one question at the time.
About the icons. All images are the same style 'round, white and transparent'. Do they come from a serie of icons (iconpack) or are they all custommade. I'd like to have an icon for Instagram. Can you provide one?
Love JOOMLA!

  • Posts:48
  • roel
  • Senior Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 1.01 seconds
Monday 04 November 2024

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.