Add Comment Wall to Profiles with timeline?

Isleander
Isleander
@isleander
3 years ago
554 posts
Is it possible to add a comment wall to profiles with a Timeline?
updated by @isleander: 12/23/21 05:16:50AM
paul
@paul
3 years ago
4,326 posts
Isleander:
Is it possible to add a comment wall to profiles with a Timeline?

Yes, just add the smarty call -
{jrComment_form module="jrProfile" profile_id=$_profile_id item_id=$_item_id}
to the appropriate place in the profile_index.tpl template.

However, at the moment there is a bug in he jrComment module stopping this for working. I'll get that fixed up and let you know.


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
3 years ago
554 posts
Thank you Paul.
So, would this be correct? (image)
updated by @isleander: 09/17/21 08:23:49AM
paul
@paul
3 years ago
4,326 posts
Updated Comment module now in the MarketPlace.

That code looks ok (from what I can see of it). Get the latest module and try it.


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
3 years ago
554 posts
Hello Paul,
Thank you.

I have deleted the original comment box at the bottom of the page because there was a conflict, and decided to revert to the timeline for now as the comment box at the top the of profile page just doesn't look right with the comments showing ABOVE the box instead of below it (which is the norm). Can this be changed?

Thank you again,
Alex
updated by @isleander: 09/23/21 08:00:52AM
paul
@paul
3 years ago
4,326 posts
It can. Take a look at the jrComment 'comment_form.tpl' template.
Lines 11-25 inclusive show the comments and lines 26 onwards show the form.
Just reverse those sections.
hth


--
Paul Asher - JR Developer and System Import Specialist