Keyword

Social Icons don't show in articles

  • Lambis
  • Lambis's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #142782 by Lambis
Social Icons don't show in articles was created by Lambis
I just made a new site with K2 as Article System. I have a little problem. Even though i configured the social icons to be visible And in all Categories AND in all items, they are not visible. And i do not know why....

Any suggestions???

The site is: www.thepcdoctor.gr

Thanks in advance.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142794 by Krikor Boghossian
Replied by Krikor Boghossian on topic Social Icons don't show in articles
Hello,

Have you altered the templates in any way?
Also are these categories inheriting their settings from another one?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Lambis
  • Lambis's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago #142803 by Lambis
Replied by Lambis on topic Social Icons don't show in articles
I only changed the font size and padding of the main menu, to make it smaller. But the icons did not appear even before i make those changes!

No, all Categories are independent. No settings are inherited from another Category. I have only 1 sub-Category which inherits its settings from parent Category which is also configured to show the Social Icons!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142824 by Krikor Boghossian
Replied by Krikor Boghossian on topic Social Icons don't show in articles
Based on this post - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates -
locate the item.php file (either in your overrides or in the original folder) and make sure the highlighted lines are there github.com/joomlaworks/k2/blob/master/components/com_k2/templates/default/item.php#L302-L350

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Lambis
  • Lambis's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #142861 by Lambis
Replied by Lambis on topic Social Icons don't show in articles
The highlighted lines are not present in /templates/YOURTEMPLATE/html/com_k2/default/item.php
But they are present in /components/com_k2/templates/default/item.php

So i should add them??? And where exactly?
Last edit: 8 years 11 months ago by Lambis.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142878 by Krikor Boghossian
Replied by Krikor Boghossian on topic Social Icons don't show in articles
This means that they are stripped from your template.
You can paste them in the same place as the default template (look at the previous element).
Since this is a template issue you should also consult with the template's developer.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Lambis
  • Lambis's Avatar Topic Author
  • Offline
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #142886 by Lambis
Replied by Lambis on topic Social Icons don't show in articles
I did but with no success. The icons still do not appear.
I also copied item.php from /components/com_k2/templates/default/item.php to /templates/YOURTEMPLATE/html/com_k2/default/item.php with no success either....
The weird is that in my test site (localhost) the icons appear!

Edit: I finally did it. That's it Krikor. Thanks a lot!!! :D
Last edit: 8 years 11 months ago by Lambis.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142953 by Krikor Boghossian
Replied by Krikor Boghossian on topic Social Icons don't show in articles
You 're welcome :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum