solved combined audio/video setting order by....

Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Strumelia:
"Yes, I cannot quite figure out the order sequence logic either...both audio and video lists should be latest added first."

Brian said:
"Like all Jamroom modules on profiles, the profile owner can order them how they want.
Click on the "set item order" icon on the index header and you can set the item order."

Brian I'm not using Site Builder. I'm looking at both of the new 'combined' audio/video modules: at Index.tpl's and they already seem to be using:
{jrSeamless_list modules=$mods order_by="_created numerical_desc" pagebreak=10 page=$_post.p pager=true}
...so shouldn't they be listed already by their date added?- but they don't seem to be in that order, plus they go to next page after 6, not 10.

What am I not understanding here? I must not be looking in the right place?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 04/24/15 01:06:53PM
brian
@brian
9 years ago
10,148 posts
This has nothing to do with Site Builder :)

The template that controls the order on the profile is "item_index.tpl" and it looks like:

{jrSeamless_list modules=$mods search="_profile_id = `$_profile_id`" order_by="*_display_order numerical_asc" pagebreak=6 page=$_post.p pager=true}

Which is correct and how it should be.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Oh, i was looking in the index templates, not the item index templates.

Can you please tell me what the difference is between: *_display_order numerical_asc
and: _created numerical_desc ?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
_created = Time the item was created

*_display_order (i.e. "audio_display_order") = the order the user has put them in

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
When you say "created"- does that mean the time the user ADDED them to their video list on your site? Or somehow the time stamp in youtbe for example that actually says when the video was created on YT?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
The time the item was added to Jamroom.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ah, ok then!
That's just what I wanted, got it working now- in the item index templates, I changed it to:
order_by="_created numerical_desc"
Most recently added are at top, oldest at bottom.
Excellent! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
You might want to hide the "order items" button then - your users might wonder why they cannot order their items - just an FYI.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
I think I'll just worry about that a little later down the road when somebody complains... ;D


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
Its pretty easy to hide a button you don't want. Just click on that sliding meter looking button that has the title "Configure these buttons and the order they appear in" (next to the create/album/reorder buttons on the item list page.)

Then on the button you dont want to show, click MODIFY.
* Uncheck the ACTIVE checkbox

and the button will be de-activated.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok well that was easy. Done, and thanks!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015