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.

Icons in moodle and joomdle

  • Carlos Timossi
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 months ago #1 by Carlos Timossi
Icons in moodle and joomdle was created by Carlos Timossi
Hi, and thanks for this awesome plugin
I have noted that the activities I add in moodle has a different icon when display with joomdle in joomla. I had no problem with that till now, because I always change the icon files at joomdle/images/.....png
Now, my problem is that I have installed a custom module (simple certificate) that has no icon and the default one is displayed. Is it possible to display a custom icon in this case? What should I do?
Thanks
Carlos

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

More
12 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Icons in moodle and joomdle
Hi.

Thanks for your kind words.

I think for doing what you want, you would only need to edit administrator/components/com_joomdle/helpers/system.php , function get_icon_url, adding the new case to the switch statment.
In fact I would just do something like:
Code:
case 'certificate': case 'simplecertificate': $filename = 'certificate.png';

Then you would need to replace icon for certificate module, as you do with others.
If you try, please let us know how it goes, so I can add it for next release.

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

More
12 years 5 months ago #3 by Luciano Peralta
Replied by Luciano Peralta on topic Icons in moodle and joomdle
Hola.
Pdf, Mp3, jpg aparecen con el icono unknow.png

Joomla 3.1.5
Joomdle 092
Moodle 2.5.2

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

More
12 years 5 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Icons in moodle and joomdle
Gracias por la info. Sacaremos una nueva versión esta semana, con esto resuelto.

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