1. gteigland
  2. Support
  3. Thursday, March 19 2015, 12:41 AM
I would like to change out the code for showing the number of images (since we are not emphasizing this) to
1. Number of Groups the member has joined
2. Number of Events UPCOMING that they have subscribed to

Below is a screen shot that helps show what I'm talking about.
http://awesomescreenshot.com/0764k0zf96

Thanks!
admin Accepted Answer
Admin
Hi,
the code that show photo count is into file Elements->lists->users_list_bit.ctp at line 21.

photo_count is stored into DB, unfortunately it is not so for group count and event. So you need to add some SQL queries to get these values (at least 2), this is not good for site performance because if you have 20 users on list the system add 40 queries.
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.