- Posts: 4
COMMUNITY FORUM
Social Icons don't show in articles
- Lambis
-
Topic Author
- Offline
- New Member
Less
More
10 years 1 month 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.
Any suggestions???
The site is: www.thepcdoctor.gr
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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?
Have you altered the templates in any way?
Also are these categories inheriting their settings from another one?
Please Log in or Create an account to join the conversation.
- Lambis
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 1 month 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!
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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
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
Please Log in or Create an account to join the conversation.
- Lambis
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 1 month ago - 10 years 1 month 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?
But they are present in /components/com_k2/templates/default/item.php
So i should add them??? And where exactly?
Last edit: 10 years 1 month ago by Lambis.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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.
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.
Please Log in or Create an account to join the conversation.
- Lambis
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
10 years 1 month ago - 10 years 1 month 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
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: 10 years 1 month ago by Lambis.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #142953
by Krikor Boghossian
Replied by Krikor Boghossian on topic Social Icons don't show in articles
You 're welcome :)
Please Log in or Create an account to join the conversation.