By Mist on Thursday, 04 June 2015
Posted in Technical Issues
Likes 0
Views 1K
Votes 0
Hi guys, i am trying to "activate" the EasySocial comments system into Joomla articles.

So far so good, the ES content plugin does it's job just fine but there is one issue on how this was designed.

The plugin will render the comments "zone" right after the main text of the article, right after the code below

<?php echo $this->item->text; ?>


I need to display the ES comment system in a different location within my article template view, for example at the placement shown below

<?php echo $this->item->event->afterDisplayContent; ?>


Do you guys have any tip on how to "load" the ES comments system within the Joomla article at desired location within the template view / code ?

Thanks in advance !
This issue is now solved within EasySocial 1.4 Update
·
Friday, 16 October 2015 05:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mist ,

I am really sorry for the delay of this reply as it is a weekend for us here.

Perhaps you can show us some screenshot which different template Joomla article location you would like to display the Easysocial comment?

By right, we only can render the Easysocial comment in this trigger 'onContentAfterDisplay' provided by Joomla.
·
Saturday, 06 June 2015 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Basically it's a custom template on our development server and i use the template override below to design the article page
/templates/my_template/html/com_content/article/default.php

What i want is just to "render" EasySocial comments functionality where i want it.

1. If i use the code below
<?php echo $this->item->text; ?>


EasySocial comments are rendered succesfully BUT also this displays the article text right before it ... and i want to render just the ES comments alone.

2. If i use the following code
<?php echo $this->item->event->afterDisplayContent; ?>

nothing is displayed.

So i need an example on how can i render just the ES comments within the article view !
·
Sunday, 07 June 2015 03:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mist,

I am sorry for the delay of this reply.

I've checked the easysocial article plugins and joomla article code itself and it seems like the comment can only be rendered inside the article itself and cannot be separated unfortunately.

You can refer from the /plugins/content/easysocial/easysocial.php at line 189 where the comment form is actually injected into the joomla article itself.
·
Monday, 08 June 2015 14:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Too bad that the ES Content plugin is "injecting" the comments zone right after the article text and not using an event trigger like "afterDisplayContent" . This way is basically "killing" any attempt to a custom article layout

So, it seems that only option i have left is to try and "render" the EasySocial comments intro Joomla article thru "custom" code and template override.

I noticed this documentation: http://stackideas.com/docs/easysocial/developers/comments/getting-started

Any help on how i can "render" the EasySocial comments into joomla article template override ?
/templates/my_template/html/com_content/article/default.php
·
Monday, 13 July 2015 07:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mist,

I am sorry for the delayed response.

You can refer from the documentation for the correct settings and after that you can output the comment form by using the following code,
echo $lib->getHtml();


By the way do note that our support policy does not cover customization or modification request. Thank you for your kind understanding.
·
Wednesday, 15 July 2015 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us your issue resolved.
·
Friday, 16 October 2015 10:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post