JoomlaLMS Learning Management System - Support Forum
|
#1
|
|||
|
|||
|
I want to disable the restart course button at the end of the course, how can I do this, thanks
|
|
#2
|
|||
|
|||
|
The source of the file joomla_lms.course_lpathstu.php, where this button is added to the menu is encoded.
If you have php skills, you should edit file includes/lms_html_tmpl.php (function 'JLMS_ShowToolbar()') to disable this button. |
|
#3
|
|||
|
|||
|
Thanks den, I have no php skills (although i would love to) can you advise on what i need to change. Thanks
|
|
#4
|
|||
|
|||
|
Open the file components/com_joomla_lms/includes/lms_html_tmpl.php
and change the code near line ~15 from: Code:
$toolbar_thml .= "<td>";
$btn_w = "32";$btn_h = "32";
switch ($toolbar_btn['btn_type']) {
Code:
$toolbar_thml .= "<td>";
if ($toolbar_btn['btn_type'] == 'restart') {
$toolbar_thml .=' </td>';
break;
}
$btn_w = "32";$btn_h = "32";
switch ($toolbar_btn['btn_type']) {
|
|
#5
|
|||
|
|||
|
That hit the spot! Great support thank you very much for your help
|
|
#6
|
|||
|
|||
|
If the user fails the quiz, is it possible to have the restart button in the results? I would like them to restart the learning path completely.
Where would I modify the php code to allow this? Thank You, Mike |
|
#7
|
|||
|
|||
|
Hope we understood you correctly, but what are you talking about is not so necessary:
If users fail a quiz and cannot proceed with the learning path then they can simple navigate to the quiz step again and the failed quiz will be automatically restarted. There is a 'restart' button to restart entire lpath, it appears after completing the entire lpath. If in your case failed quizzes are not restarted automatically after navigating to them for the second time please check if the number of attempts for quizzes is limited (edit the quiz and check its settings). If the number of attempts for the quiz is limited to 1 then the users cannot start quiz again after failing. Please let us know if we didn't address your question and we will try to advise some other solution. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 05:15 PM.





Linear Mode

