By Mark on Tuesday, 13 May 2014
Posted in Technical Issues
Replies 3
Likes 0
Views 453
Votes 0
Hi

I'm using Easysocial for a client who wants to use it for his team to be able to upload files associated with a project (group) and then have group discussions on them etc

It works great except for one feature they want - they want to be able to create a folder of files in a group and then only have the ability to comment and discuss after the last file in a folder rather on a per file basis

I can see in phpmyadmin that 'folders' of files are stored as collections so I was wondering if you could tell me where I can modify the code so that the 'like, share' interface etc is only displayed after the last file in a collection.

Or if you can do this as custom work, let me know how much please.

Many thanks

Mark
Hello Mark,

I am really sorry for the delay of this reply as it is actually a public day off for us here. Hm, not really sure which "like", "share" are you referring to here because in the Group File Sharing app, it only generates a stream item that allows you to like / share. If you need to customize the behavior (You can actually) by editing the apps file in /media/com_easysocial/apps/group/files/files.php .

In the onPrepareStream method, you can tell the system to not display likes by setting ->likes to false on the stream item.
·
Tuesday, 13 May 2014 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Many thanks for your help, that's just what I was looking for

Regards

Mark
·
Wednesday, 14 May 2014 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 14 May 2014 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post