How to display "popular items of the month"?

bigu_c
bigu_c's picture

Joined: 2007-10-28
Posts: 421
Posted: Tue, 2013-03-12 11:16

I have question above, but not found any module for this.

Can anyone help me?

Thanks.

 
micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2013-03-12 15:09

I have also been looking for this feature for months but unfortunately there's no mod or functionality that enables this feature. You can read some discussion here - galleryproject.org/node/109068

I will try to post a request in jobs forum but I highly doubt I will get a coder based on what I see for other requests.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Fri, 2013-03-15 15:16

What first comes to my mind:

(1) Query for all albums/photos/items added in the last 30 days (if by time) or the ## most recent albums/photos/items.

(2) Have the results sorted by view count.

(3) Return the first ## results.

There are a few additional considerations; the first: What is "recent"? (It could be latest uploaded, latest changed/modified, latest captured date, etc.)

Exactly how you implement this would obviously depend on what you want to do with the items once they're returned.