By Fagault Eric on Friday, 02 February 2018
Posted in General
Replies 3
Likes 0
Views 615
Votes 0
Bonjour,
Je souhaiterai savoir dans quels fichiers PHP je peux trouver les éléments surlignés dans la capture écran jointe.
Best regards.
Eric
You may find these codes in /components/com_easysocial/themes/wireframe/conversations/default/actions.php
·
Friday, 02 February 2018 20:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,
Thank you for your reply.

How can I retrieve the ID of the selected member in the left column (the one whose messages are displayed)

Best regards.

Eric
·
Saturday, 03 February 2018 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
How we retrieve those conversation id is :

1. render the conversation id in the HTML code
JoomlaFolder/components/com_easysocial/themes/wireframe/conversations/default/lists.php
You can refer on my first attached screenshot below.

2. Use jQuery to find this data-id element
JoomlaFolder/media/com_easysocial/scripts/site/conversations/item.js
You can refer on my second attached screenshot below.

3. Call the ajax function through just now that Javascript.
JoomlaFolder/components/com_easysocial/views/conversations/view.ajax.php (getConversation method)
·
Saturday, 03 February 2018 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post