Tips & Tricks

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

[solved]How to remove “%” in grades in the joomla menu item for “User Grades”?

More
5 years 3 months ago #1 by Yusef
hello
1. I want to know How to remove “%” in grades in the joomla menu item for “User Grades”?

in "Gradebook view", it shows "30%". I want to have only "30"

2.How to show “rank” for students in the “User Grades” menu item? every time a student wants to see his rank, he has to go into moodle and see his grades. I want to add a column to “User Grades” an to show the rank.

I'm using joomla 3.8
moodle 3.9
joomdle 1.2.7

thank you.

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #2 by Antonio Durán
Hi.

1. You would need to create a template override, and remove the % there

2. Right now, rank is not supported in Joomdle grades views

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #3 by Yusef
thank you for your response.
is there any guide I can use to create template overrides for joomdle?

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #4 by Antonio Durán

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #5 by Yusef
I'm really sorry.
I did lots of changes. but the only thing I couldn't find was the "%" sing. I don't know exactly what to remove in the lines to hide this sign.

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #6 by Antonio Durán
File to modify is:
components/com_joomdle/views/mygrades/tmpl/default_course.php

In line 99 you have:
<?php printf ("%d", $item); ?>%

Just remove the % at the end of the line

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #7 by Yusef

Please Log in or Create an account to join the conversation.