- Posts: 5
COMMUNITY FORUM
Enabling social sharing in K2
- Rakel
- Topic Author
- Offline
- New Member
Less
More
11 years 4 months ago #113338
by Rakel
Enabling social sharing in K2 was created by Rakel
Is there something specific I have to do in order to get the "Social sharing buttons" to work? I have them enabled (show) both in the article and in the category and they still don't show. I can't figure out why. Anyone out there who can help?
Thanks in advance!
Thanks in advance!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 4 months ago #113339
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Enabling social sharing in K2
Hello Rakel,
You should check your category inheritance. These button are 'plug n' play' inside your item.
They come enabled by default as well.
Also make sure your templates are up to date as well.
You should check your category inheritance. These button are 'plug n' play' inside your item.
They come enabled by default as well.
Also make sure your templates are up to date as well.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Rakel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 4 months ago #113340
by Rakel
Replied by Rakel on topic Re: Enabling social sharing in K2
Thanks for your reply.
My setup is as follows:
Article:
Under "Item view options"
- 'Social button' like ShareThis, AddThis etc. is set up as "Inherit from Category"
- Social sharing Facebook button is set up as "Inherit from Category"
Category:
Under "Item view options"
- 'Social button' like ShareThis, AddThis etc. is set up as Show
- Social sharing Facebook button is set up as Show
You can see my site on www.aett.is and the section where I am working with K2 (at the moment) under aett.is/index.php/is/frettir. As you can see there are no social buttons visible.
Thanks again for helping
My setup is as follows:
Article:
Under "Item view options"
- 'Social button' like ShareThis, AddThis etc. is set up as "Inherit from Category"
- Social sharing Facebook button is set up as "Inherit from Category"
Category:
Under "Item view options"
- 'Social button' like ShareThis, AddThis etc. is set up as Show
- Social sharing Facebook button is set up as Show
You can see my site on www.aett.is and the section where I am working with K2 (at the moment) under aett.is/index.php/is/frettir. As you can see there are no social buttons visible.
Thanks again for helping
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 4 months ago #113341
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Enabling social sharing in K2
Hello Rakel,
aett.is/index.php/is/frettir/item/62-adhalfundur-28-februar-2013 is showing the social sharing buttons properly. The url you sent me is an itemlist. By default social buttons are not rendered on itemlists. If you need them you have to override category_item.php
aett.is/index.php/is/frettir/item/62-adhalfundur-28-februar-2013 is showing the social sharing buttons properly. The url you sent me is an itemlist. By default social buttons are not rendered on itemlists. If you need them you have to override category_item.php
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Rakel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 4 months ago #113342
by Rakel
Replied by Rakel on topic Re: Enabling social sharing in K2
Ahhhh...I see what you mean. How do I override category_item.php?
Thanks for helping!
Thanks for helping!
Please Log in or Create an account to join the conversation.
- Peter Grube
- Offline
- Elite Member
Less
More
- Posts: 241
11 years 4 months ago - 11 years 4 months ago #113343
by Peter Grube
Replied by Peter Grube on topic Re: Enabling social sharing in K2
Hi Rackel,
This is a pretty good description on how to use template overrides LINK
This is a pretty good description on how to use template overrides LINK
Please Log in or Create an account to join the conversation.
- Rakel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 4 months ago #113344
by Rakel
Replied by Rakel on topic Re: Enabling social sharing in K2
Hi Peter,
Thanks for the tip, I'm afraid it's a little too advanced for me. I need more specific instructions to be able to achieve this. But thanks anyways :-)
Thanks for the tip, I'm afraid it's a little too advanced for me. I need more specific instructions to be able to achieve this. But thanks anyways :-)
Please Log in or Create an account to join the conversation.
- Peter Grube
- Offline
- Elite Member
Less
More
- Posts: 241
11 years 4 months ago #113345
by Peter Grube
It may seem a bit difficult at first but it's not really.
1/ Open your sites Default Template folder (you should see a folder named html (if none exists create one).
2/ Inside the html folder create a new folder (name it com_k2)
3/ Then navigate to components/com_k2/templates then (copy all the files & the default folder)
4/ Navigate back to the your templates html folder & open the com_k2 folder that you created in step 2 and Paste the files & default folder.
5/ Rename Default folder to anything you like eg my_override_template (you can copy the default folder multiple times if you want multiple overrides)
6/ Then in K2 open the Category you want to override, In the Right Side Menu - Category Item Layout - select a template (you should see your new overide in dropdown list)
7/ If you want to overide the K2s CSS files, you need a plugin called CSS4K2 it's free and you can find it HERE
item.php & category_item.php are the 2 files that are most often customized, and you can always delete the overrides & start again, so its fine to experiment.
If you need any help let me know.
Replied by Peter Grube on topic Re: Enabling social sharing in K2
Hi Rakel,Rakel wrote: Hi Peter,
Thanks for the tip, I'm afraid it's a little too advanced for me. I need more specific instructions to be able to achieve this. But thanks anyways :-)
It may seem a bit difficult at first but it's not really.
1/ Open your sites Default Template folder (you should see a folder named html (if none exists create one).
2/ Inside the html folder create a new folder (name it com_k2)
3/ Then navigate to components/com_k2/templates then (copy all the files & the default folder)
4/ Navigate back to the your templates html folder & open the com_k2 folder that you created in step 2 and Paste the files & default folder.
5/ Rename Default folder to anything you like eg my_override_template (you can copy the default folder multiple times if you want multiple overrides)
6/ Then in K2 open the Category you want to override, In the Right Side Menu - Category Item Layout - select a template (you should see your new overide in dropdown list)
7/ If you want to overide the K2s CSS files, you need a plugin called CSS4K2 it's free and you can find it HERE
item.php & category_item.php are the 2 files that are most often customized, and you can always delete the overrides & start again, so its fine to experiment.
If you need any help let me know.
Please Log in or Create an account to join the conversation.