solved List of order _by=

AndyF
AndyF
@andyf
8 years ago
92 posts
Is there a list somewhere in documentation that describes the different commands on how we can list/display our data in different ways in the templates?

My homepage on my skin (Media Pro Light) displays Latest Comments on the right & is showing comments from 4 years ago (I want recent comments there . . . not 4 years ago).
http://social.decorativeconcretekingdom.com
updated by @andyf: 11/06/16 12:41:56PM
douglas
@douglas
8 years ago
2,790 posts
In your skins/jrMediaProLight/side_home.tpl, what does your jrCore_list call have for the order_by parameter for the latest comments section?

I'm not seeing any issues on my end.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
AndyF
AndyF
@andyf
8 years ago
92 posts
order_by="_created desc"
douglas
@douglas
8 years ago
2,790 posts
AndyF:
order_by="_created desc"

That is correct, can you send us your admin login so we can login and check it out?

send it to support[at] jamroom[dot] net

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Serena
Serena
@serena
8 years ago
3 posts
AndyF:
Is there a list somewhere in documentation that describes the different commands on how we can list/display our data in different ways in the templates?
My homepage on my skin (Media Pro Light) displays Latest Comments on the right & is showing comments from 4 years ago (I want recent comments there . . . not 4 years ago).http://social.decorativeconcretekingdom.com

I'm brand new to Jamroom and would also appreciate a listing of "that describes the different commands on how we can list/display our data in different ways in the templates" - does that exist? I'd be more self-sufficient quicker with it?
Thanks
paul
@paul
8 years ago
4,326 posts
I think our docs cover most things now - https://www.jamroom.net/the-jamroom-network/documentation/contents - Let us know if you think anything is missing.

More specifically - https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/89/jrcore-list - covers the template listing function.

hth


--
Paul Asher - JR Developer and System Import Specialist
douglas
@douglas
8 years ago
2,790 posts
The issue here was the ACP > Item Features > Comments > Global Confg > List Options > Comment Sort Direction was set to oldest first.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
8 years ago
7,714 posts
This is the doc for order_by for jrCore_list

Docs: "{jrCore_list} : order_by"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/89/jrcore-list#order-by

--edit--
Quote: an order to return the items in. eg for blogs, by the blog date "order_by blog_date asc". Valid values for the order direction are "asc" (ascending), "desc" (descending), "numerical_asc" (numerical ascending), "numerical_desc" (numerical descending) or "random" for random ordering.

updated by @michael: 08/08/16 05:55:22AM

Tags