bmbrands / moodle-theme_elegance

This is the new official elegance repository
http://basbrands.nl
23 stars 12 forks source link

In My Moodle course photos dissapeared #161

Closed matijakovac closed 8 years ago

matijakovac commented 8 years ago

Hi, I just updated our Moodle to 3.x and updated theme Elegance too. I noticed many changes, but I can't figure out why the course description photo is missing from the 'My Moodle' page that users see upon login. Also, the login screen looks completely different than before. Thanks for help!

bmbrands commented 8 years ago

Hi, Could you include a screenshot so I can see what it looks like?

matijakovac commented 8 years ago

Hi, I can't seem to figure out if it is intentional or just my error, but the block that displays tiles with courses ('My Courses') is gone. Please see a screenshot from the original release of Elegance bellow. dashboard

All I see now is 'course overview'. Thank you.

matijakovac commented 8 years ago

Hi Bas, any help on this one would be much appreciated. Thank you,

bmbrands commented 8 years ago

I am sorry but the my courses section with tiles is no longer part of this theme. It was stripped because it does not really belong in a theme. It should be a separate Moodle block type plugin. Creating a block that generates this listing is quite simple

matijakovac commented 8 years ago

Hi Bas, thanks for your feedback. I was afraid you might say that. Could you please point me in the right direction or is there a chance to use the code used in the previous versions? Thanks

bmbrands commented 8 years ago

It would need some work but the original code is here:

(function mycourses ) https://github.com/eduridden/moodle-theme_elegance/blob/master/renderers/core_renderer.php#L512