solved Most followed profile

Nmaster88
Nmaster88
@nmaster88
8 years ago
94 posts
I'm having trouble finding a way to get the most followed profile as a result.
If i use something like:
{jrCore_list module="jrProfile" template="template.tpl"}
I don't get all the profiles...

I think i got it.
With something like this:
{jrCore_list module="jrProfile" order_by="profile_jrFollower_item_count desc" limit="1" assign="listen_most_viewed_profile"}

How shall i do it? Thanks
updated by @nmaster88: 07/09/16 07:12:57PM
douglas
@douglas
8 years ago
2,790 posts
This should do it.

{jrCore_list module="jrProfile" order_by="profile_jrFollower_item_count numerical_desc"}

By default, if you don't set a limit or use the pagebreak parameter, Jamroom will only show you I think 25 entries. You can add a limit parameter to show more.

{jrCore_list module="jrProfile" order_by="profile_jrFollower_item_count numerical_desc" limit="50"}



--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Nmaster88
Nmaster88
@nmaster88
8 years ago
94 posts
Yes i think that the limit is only 10. It seems to be working the way i want. Thanks.

Tags