× Joomdle 2.x Installation

Joomdle Moodle Certificates Empty Message

3 months 4 weeks ago
Garrett
Posts: 15
More
Topic Author
Joomdle Moodle Certificates Empty Message #1
Hello,
The "My Courses", "My Badges" both have messages when empty. ("No Badges Yet")
How can I get the "My Certificates" to have a empty message? It just shows blank.

Thanks
Attachments:

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

3 months 4 weeks ago
Antonio Durán
Posts: 7807
More
Joomdle Moodle Certificates Empty Message #2
Hi.

Thanks for the tip, I will add this for next release.
If you want to have it now, you can edit modules/mod_joomdle_my_certificates/tmpl/default.php and add on the 4th line:
if (count ($certs) == 0)
{
    echo JText::_ ('COM_JOOMDLE_NO_CERTIFICATES_YET');
    return;
}

Also, on language/en-GB/en-GB.mod_joomdle_my_certificates.ini add:
COM_JOOMDLE_NO_CERTIFICATES_YET="No certificates yet"

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

3 months 3 weeks ago
Garrett
Posts: 15
More
Topic Author
Joomdle Moodle Certificates Empty Message #3
Fixed!

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