By Fagault Eric on Tuesday, 01 August 2017
Likes 0
Views 1K
Votes 0
Hello,
On the principle of the method:
<? Php echo $ page-> getAvatar ();?>

Is it possible to display a link to the page?
The list of people who like the page?
Posts of the page thread ...

Where can I find items that I can display?

Best regards.

Eric
Hi Eric,

Kindly find my response for your inquiries below:
Is it possible to display a link to the page?

-> Sorry, I'm not quite get what you mean by here, it is you want get the permalink of certain page? if yes, you can find the function in the file .../administrator/components/com_easysocial/includes/page/page.php under function getPermalink

The list of people who like the page?

->For the follower of the page you can use the function getMembers in this file .../administrator/components/com_easysocial/models/pages.php

Posts of the page thread

-> You can use the getStream in the file .../components/com_easysocial/controllers/pages.php

Where can I find items that I can display?

-> I'm not quite get what you mean by here, can you elaborate more on this?

Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.
·
Tuesday, 01 August 2017 10:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
What I'm trying to do is display the number of posts within a page.
I'm creating a module that allows you to display a dashboard of pages.
Best regards.
Eric
·
Tuesday, 01 August 2017 13:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Eric,

Currently, there is no function that calculate the total post within a page.
Perhaps you can run the sql as below:
SELECT COUNT(state) FROM `#_social_stream` WHERE `cluster_id`='94' AND `cluster_type`='page'

where you need to change the database table prefix and get the cluster_id within the page
·
Tuesday, 01 August 2017 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
Thank you very much.
I think that actually it could work, I test.
Best regards.
Eric
·
Tuesday, 01 August 2017 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Eric

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.

Have a nice day ahead
·
Tuesday, 01 August 2017 16:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post