Trouble on duplicating theme

Trouble on duplicating theme

by Leonardo Barichello -
Number of replies: 2

Hi,

i want to start using moodle 2.0 but first i need to adapt a theme.

My choice was start from Anomaly. I already made some changes (soon it will be available here) but now i am stuck on a apparently basic problem. I need diferent themes for diferent courses. Then, i just change some background and link colors within the same theme, replicating his folders. But i cant do it with moodle 2.0!

I have 2 versions of the same theme, but when i put both in the theme folder,  moodle cant list the themes on Theme Selector. Both works when i put only one in the folder.

I did the changes on config.php and lang/en/theme_anomaly.php. Is it necessary to change something else?

Any clue about what is the problem?

thanks

Average of ratings: -
In reply to Leonardo Barichello

Re: Trouble on duplicating theme

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Yes, you will also need to change...

class theme_anomaly_core_renderer

in

moodle/theme/anomaly-version2/renderers.php

HTH

Mary