By Andrew McDonald on Monday, 23 June 2014
Replies 3
Likes 0
Views 1K
Votes 0
The Photos widget application has a default value of 10 images. For some reason, there is no option in the backend for admin to change this value... only the user can change this value on the applications page.

How can I change this default value of 10, to 3 instead.

cheers
Andrew
Hello Andrew,

You can actually edit the file /media/com_easysocial/apps/user/photos/widgets/profile/view.html.php and at line 64 locate the codes below,


$options = array( 'uid' => $user->id , 'type' => SOCIAL_TYPE_USER );


Replace it with,


$options = array( 'uid' => $user->id , 'type' => SOCIAL_TYPE_USER, 'limit' => 3);
·
Monday, 23 June 2014 23:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome! Thanks again Mark.
·
Tuesday, 24 June 2014 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 24 June 2014 10:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post