-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.3, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
-
2
-
Moppies PB candidates
All icons named icon.svg or png on pix_plugins/mod folder are directly discarded.
If both monologo and icon are provided monologo is used, but if monologo is not provided, the fallback is the default activity icon.
Checking modinfolib.php get_icon_url function it directly ask for monologo url whether it exists or not. IMHO it should test it and if monologo does not exist, fallback to icon like it does resolve_image_location on outputlib.php
The result is that we currently accept icon.png but only if they are on the activity directly. If you want to override them on the theme, you cannot.
As an example I'm attaching a custom theme that only overrides icons and it's based on boost.
If you inspect it, assign only has icon.svg. And lesson is missing: both activity icons fallback to activity default icon. Also there are 3rd party activity icons like certificate or questionnaire.
Also core_component::has_monologo_icon should check the final url to know if the icon included is monologo or not.
- has a non-specific relationship to
-
MDL-82740 CSS filter does not apply to monologo icons added in themes.
- Waiting for peer review
-
MDL-77105 Non-monologo icons are being rendered as whitened out
- Closed
-
MDL-74235 Rename the icons for activities to allow support of multiple icons for multiple versions
- Closed
- has been marked as being related by
-
MDL-74498 Instead of any pix icon of an activity, the 'monologo' icon is displayed
- Closed