Hi guys, I've been following the instructions in the link below to add a new theme:
https://github.com/adaptlearning/adapt_authoring/wiki/Modifying-the-Vanilla-Theme
The idea being to have a play around with themes before getting stuck into creating one specific to my company.
Unfortunately it looks like these instructions have not been updated recently, as I'm getting errors (and other references to files locations etc. also appear outdated).
Following the above instructions, the first error I get is:
Error: There is a plugin already installed with a target attribute of '_vanilla'.
When I look in the bower.json file, I see the following:
"targetAttribute": "_vanilla"
No problem, I think - I'll just change it to "myNewTheme" (like the rest of the instructions).
Unfortunately when I do this and try to upload the theme again I get the following error:
"An error occurred while getting schemas."
Something is obviously failing somewhere, and am hoping someone can shed some light on it?
Full bower.json contents below for reference:
{
"name": "adapt-myNewTheme",
"version": "0.0.2",
"framework": ">=5.3",
"homepage": "https://github.com/adaptlearning/adapt-contrib-vanilla",
"issues": "https://github.com/adaptlearning/adapt_framework/issues/new",
"theme": "myNewTheme",
"displayName": "myNewTheme",
"description": "A core bundled theme",
"main": "js/theme.js",
"keywords": [
"adapt-plugin",
"adapt-theme"
],
"license": "GPL-3.0",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"targetAttribute": "_myNewTheme"
}
Any help would be greatly appreciated.
Thanks!
PS: There is also a .bower.json file (note the dot at the front) in the folder - does this need to be edited as well?