Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Filtercode to show a specific grade item #216

Open
davefoord opened this issue May 17, 2022 · 4 comments
Open

Feature request: Filtercode to show a specific grade item #216

davefoord opened this issue May 17, 2022 · 4 comments
Labels
feature request New features, enhancements question to participant Developer has asked a question and is waiting for a response from participant

Comments

@davefoord
Copy link

Would it be possible to add a filter code that allows for a specific grade item to be shown? I have courses with complicated grade calculations - but ultimately I want to show a single key grade item to the user.

e.g. Something like:

{gradeitem XXXX} where XXXX = the ID of the grade item.

@garetharnott
Copy link

@davefoord I really like this - hopefully Michael can do this. It would be nice to have this as I find the gradebook to be extremely overcomplicated. As a student I think I would like to have some sort of indication on the homepage of how my grades are looking.

regards
Gareth

@michael-milette michael-milette added the feature request New features, enhancements label Jun 22, 2022
@michael-milette michael-milette changed the title Filtercode to show a specific grade item Feature request: Filtercode to show a specific grade item Jun 22, 2022
@michael-milette
Copy link
Owner

Hi @davefoord ,

I am always hesitant to create any FilterCodes tags that would enable you to retrieve information from a different context. For example, displaying one course's information in a different course, dashboard or home/front page.

The version of FilterCodes here on GitHub (not on Moodle.org yet) includes a tag called {coursegrade} which displays the learner's grade but only within that course.

It sounds to me like you are looking for something like a live report card or grade transcript that you can display on the home page or dashboard. I think a custom block or activity module might be a better choice. Another place would be to customize a theme. A theme has access to override the way course cards are displayed on the dashboard and/or front page.

I happen to noticed that there is a block called My Grades available for download. It is only listed as being compatible with Moodle 2.3 to 2.8 on Moodle.org however there is a much more recent version available on GitHub which is very likely compatible with more recent releases of Moodle.

Just considering what would make more sense, both from a feasibility and a security point of view.

Best regards,

Michael Milette

@michael-milette michael-milette added the question to participant Developer has asked a question and is waiting for a response from participant label Oct 2, 2022
@davefoord
Copy link
Author

Hi @michael-milette, thanks for considering this.

If there is a security reason not to do something, then don't do it. In my situation - I was only going to show the grade item within the course that grade item was in - so less of a security issue - but I assume if you added that feature - it could be used to read grade items across courses - which I understand could have an issue with security (or at least an issue in terms of people seeing things that they shouldn't).

The My Grades block shows the overall course grade, not specific grade items - so doesn't help me here, but worth me knowing about for other applications.

Thanks

Dave Foord

@michael-milette
Copy link
Owner

Hi @davefoord ,

I will give this more thought.

Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New features, enhancements question to participant Developer has asked a question and is waiting for a response from participant
Projects
None yet
Development

No branches or pull requests

3 participants