× 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”?

1 week 5 days ago
Yusef
Posts: 13
More
Topic Author
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #1
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.

1 week 5 days ago
Antonio Durán
Posts: 7146
More
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #2
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.

1 week 5 days ago
Yusef
Posts: 13
More
Topic Author
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #3
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.

1 week 5 days ago
Antonio Durán
Posts: 7146
More
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #4

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

1 week 5 days ago
Yusef
Posts: 13
More
Topic Author
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #5
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.

1 week 5 days ago
Antonio Durán
Posts: 7146
More
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #6
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.

1 week 4 days ago
Yusef
Posts: 13
More
Topic Author
[solved]How to remove “%” in grades in the joomla menu item for “User Grades”? #7
done.
thank you.

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