Menu

How do I edit the order of the course cards in the Student Dashboard?

Currently the course cards on the Student Dashboard are arranged in reverse order by last accessed. That means if you have your course cards arranged 1, 2, 3, 4 and the student watches #4 first - that one will move to the front so it will show 4, 1, 2, 3 next time they go back to their dashboard.

To change this, you can go into your Theme file and go to the Student Dashboard Page in the Site Pages folder (for Theme versions 2.0 and higher).

In the code on the right, find the line with 'sort: 'last_accessed' | reverse'

image

You can change the variable after 'sort:' to the following:




  • last_accessed
  • name
  • created_at



You can also remove '| reverse' to change the ordering. For example, 'name' without 'reverse' will have courses starting with 'A' first.



4 people have this question

 I don't want my course cards getting re-arranged at all... I want them to stay in the order I put them in... how do I do that?   I've tried replacing 'sort: 'last_accessed' | reverse' with 'position'. I see no change in the performance after that. 


1 person likes this

Hi Kent!


You can send us a message here and we can take a look at your site for you.

that is the same for me. I want the students to have the courses listed on their student dashboard in the order they are listed in the bundle they have purchased. This is essential because I created a welcome and intro course and an evaluation and CEU application course that need to be placed at the beginning and the end of the bundle


1 person likes this

Hi Colleen!


Thank you for the feedback and to set the order in any means does require accessing the HTML directly through the HTML Editor. This would require the Business Price plan and following the steps above - thus is best for someone comfortable with HTML.


Thank you!