Themes

 
 
Picture of John Szkudlapski
Aardvark 2.4 (Magpie)
 

Ive attempted to add the new Magpie theme (into a folder called Magpie, so not to overwrite the existing aardvark theme) and im getting the attached error when trying to install it

 


 
Average of ratings: -
Picture of John Szkudlapski
Re: Aardvark 2.4 (Magpie)
 

Initial error shows up as this


 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 2.4 (Magpie)
Group Particularly helpful MoodlersGroup Testers

Hi John,

You say you renamed the folder not to clash - but have you made sure you rename the theme everywhere else - language file, version.php, config.php and anywhere else it may be named? I don't have aardvark magpie downloaded on my work computer to check exactly where else, but tools like Notepad++ or if you're on Linux a bash command such as the one here can help.

Richard

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 2.4 (Magpie)
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Did you click on the "More information about this error?" because you will find the answer there. It says this...

A broken plugin, such as a module, has been detected. In order for the upgrade to proceed, the broken plugin should be deleted.

In the case of a Theme, then it is more than likely there is a file that has not been renamed correctly, or the theme is missing a vital component like a version.php, or that the version.php is not correct in some small detail, usually the plugin version.

For more information read Themes 2.0

http://docs.moodle.org/24/en/error/moodle/detectedbrokenplugin

However, in your case the fact you are calling your theme Magpie is a probelm too, not the name but the fact you have used a Capital letter. In Moodle you cannot use Caps...end of story!

 
Average of ratings: -