I have just upgraded my formalms from 1.4.2 to 2.0 in a test environment. When I open the LMS homepage to list all the courses, two text lines appear on the header. The lines are 'Applica filtro' and 'Azzera filtro'. See attached screen shot.
How to I eliminate those lines, or at least translate them into English?
Unwanted text on LMS homepage
Re: Unwanted text on LMS homepage
Both files /widget/coursefilter/views/coursefilter.php and /widget/tablefilter/views/tableefilter.php contain this snippet:
With the unwanted text hardcoded in Italian language, as you can see.
You can get rid of the whole snippet or, if you want to keep the functions, to change it as follows:
If you edit the snippet, you must add a language key.
To do this, go to language administration page and add:
module: standard
key: _FILTER_APPLY
translation: as you wish
and same for the second:
module: standard
key: _FILTER_RESET
translation: as you wish
Code: Select all
<div class="input-group">
<a href='#' id='<?php echo $id; ?>_filter_set1'>Applica filtro</a><br><br>
<a href='#' id='<?php echo $id; ?>_filter_reset'>Azzera filtro</a>
</div>
You can get rid of the whole snippet or, if you want to keep the functions, to change it as follows:
Code: Select all
<div class="input-group">
<a href='#' id='<?php echo $id; ?>_filter_set1'><?php echo Lang::t('_FILTER_APPLY'); ?></a><br><br>
<a href='#' id='<?php echo $id; ?>_filter_reset'><?php echo Lang::t('_FILTER_RESET'); ?></a>
</div>
To do this, go to language administration page and add:
module: standard
key: _FILTER_APPLY
translation: as you wish
and same for the second:
module: standard
key: _FILTER_RESET
translation: as you wish
Per supporto GRATUITO contattatemi in privato qui
Re: Unwanted text on LMS homepage
Tanks for the resolution
The bug will be fixed in the next release
The bug will be fixed in the next release
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
Re: Unwanted text on LMS homepage
I needed to do this on 3.1 too.
Re: Unwanted text on LMS homepage
3.1 is not free for the community.
Provide access to your instance for a paid job or wait.
Provide access to your instance for a paid job or wait.
Per supporto GRATUITO contattatemi in privato qui
Re: Unwanted text on LMS homepage
As mentioned in my message, I needed to do this (i.e. I used the past tense).