Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

My courses sort and size #658

Open
gjb2048 opened this issue May 19, 2016 · 11 comments
Open

My courses sort and size #658

gjb2048 opened this issue May 19, 2016 · 11 comments
Assignees

Comments

@gjb2048
Copy link
Owner

gjb2048 commented May 19, 2016

From: Peter Diedrichs - https://moodle.org/user/profile.php?id=8060

My Courses menu in the header: It's good that it kan be resticted to show only open courses.
What would make it great would be the options to:

  • Order courses by their ID (their actual obligatory ID, not the optional one in Settings) and choose "incremented" (0-9) or "decremented" (0-9) order
  • Set a maximum number of courses to be shown.
    Then it would become a quick menu for users with lots of courses, showing only their (for instance) last five courses.
@gjb2048
Copy link
Owner Author

gjb2048 commented May 19, 2016

Do you really mean "choose "incremented" (0-9) or "decremented" (9-0) order"?

@gjb2048
Copy link
Owner Author

gjb2048 commented May 19, 2016

Also, what is the criteria for the 'last five courses'? Access time?

@cdipe
Copy link

cdipe commented May 23, 2016

Hi! (I'm not sure where my response went, I'll write a new)
I was thinking the last courses that the user was added to. But, maybe last accessed would be better? What do you think?
It should probably be the ten last, five might be to few. I think it should be selectable in the Essentials admin settings.

@gjb2048
Copy link
Owner Author

gjb2048 commented May 23, 2016

Hi @cdipe,

Pragmatically I'm not going to spend any more time / thought on this until one of two things happen:

  1. Gets funded.
  2. I decide in the medium to long term future that its something I want / would be good for me to do.

Kind regards,

Gareth

@cdipe
Copy link

cdipe commented May 24, 2016

Hi Gareth, I totally understand that. I need an approximate of the cost in order to get the funding. But I also need to know what a "cild theme" means in the long run, will it be updated along with the main theme?

@gjb2048
Copy link
Owner Author

gjb2048 commented May 24, 2016 via email

@cdipe
Copy link

cdipe commented May 24, 2016

Yes, I have the authority to request and approve a certain quote, but depending on the amount I need further authorization since this is not in my budget for 2016.


Peter Diedrichs

Förvaltningsledare Utbildningsmiljö

Universitetsbiblioteket

Linnéuniversitetet, Kalmar

Telefon +46(0)480-446041

Mobil -46(0)708–624567

http://lnu.sehttp://lnu.se/

@gjb2048
Copy link
Owner Author

gjb2048 commented May 24, 2016

Ok, Peter, do you have an eMail address I can send my terms of my terms of business to?

@cdipe
Copy link

cdipe commented May 24, 2016

Yes, [email protected]

@gjb2048
Copy link
Owner Author

gjb2048 commented May 24, 2016

NTS: user_lastaccess

@gjb2048
Copy link
Owner Author

gjb2048 commented May 24, 2016

Ok, times (development includes testing):

Investigation: 1.5 hours.

Essential development:
Sort order setting: Course sort order or by last accessed time (Custom DB SQL on user_lastaccess) then course id.
Maximum courses setting: 0 for all or number entered.
Time: 1 - 1.5 hours. Say 1.5 and if less then charge less.

Child theme for:
Sort order setting: Course id - ascending or descending.
Time: 45 mins.

General: Refactor 'custom_menu_courses()' to facilitate effective implementation of both - 30 mins.

Total time 4 hours 15 mins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants