Social icons and JA Comment

GK User
Thu Sep 29, 2011 6:24 pm
I want to use JA Comment as comment system for my articles but I want the social icons from the template to show above the comment field. Now the social icons is showing below the comment field as you can see here:

http://www.ffatest.se/artiklar/nyheter/ ... an-sandisk
User avatar
Platinum Boarder

GK User
Fri Sep 30, 2011 4:12 am
I do not have JA Comments but looking into the code i can see any Plugin display comes after SocialApi so check below for test purposes.

Two suggestions
1- Check Comment plugin settings from joomla admin plugin manager and see where its loading on..

E.g beforeContent, afterDisplayContent
If it does show afterDisplayContent then continue below if not select afterDisplayContent and recheck your website.

2- Backup your files before any changes

3 - Find this file templatesgk_musicityhtmlcom_contentarticledefault.php
4 - Edit Line 213 which is below
Code: Select all
   <?php echo $this->item->event->afterDisplayContent; ?>

Change it to
Code: Select all
   <?php echo $this->article->event->afterDisplayContent; ?>

Try to see if Comments loads after social bar if not fix is elsewhere...
User avatar
Platinum Boarder

GK User
Sun Oct 02, 2011 11:45 am
It didn´t work but the JA Comment support solved it for me!
User avatar
Platinum Boarder

GK User
Sun Oct 02, 2011 12:20 pm
Can you post how you fixed it for future reference thank you...
User avatar
Platinum Boarder

GK User
Sun Oct 02, 2011 1:16 pm
Here is the thread with the solution: http://www.joomlart.com/forums/showthre ... cial-icons
User avatar
Platinum Boarder


cron