Picture of Rafael Franco
Theme authoring tool
by Rafael Franco - Friday, 22 July 2016, 6:00 PM
 

Hi, Ihave been trying to locate the vanilla theme in the authoring tool folders but I seem to be out of luck. when I get to the folder src all I get is an index file and a folder named core (example below). Am I looking in the wong location? has the theme location changed?

~/adapt_authoring-master/adapt_framework$ cd src
:~/adapt_authoring-master/adapt_framework/src$ ls
core  index.html


Picture of Dan Gray
Re: Theme authoring tool
by Dan Gray - Monday, 25 July 2016, 4:20 PM
 

Hi Rafael

You should find the theme in the temp folder
e.g  /adapt_authoring-master/temp/578e3c29fe6f709611be4258/adapt_framework/src/theme/

But if you are developing a theme you should do this outside of the authoring tool folders and upload as a zipped plugin. This might help although I think that step one may no longer be correct. 

This post might also be helpful.

Picture of Rafael Franco
Re: Theme authoring tool
by Rafael Franco - Monday, 25 July 2016, 5:14 PM
 

Hi Dan,

 

 I followed the instruction for modifying the Vanilla theme and then uploaded it but then I get an error saying that it cannot find the bower.json file in the parent directory. I have the exact same folder structure than teh vanilla theme, Hve you come accross the same error message?

Best regards

Picture of Tom Taylor
Re: Theme authoring tool
by Tom Taylor - Monday, 25 July 2016, 6:28 PM
 

It sounds like the folder structure of your zip is slightly wrong. You need to make sure there's an extra level to your zip folder:

  • theme.zip
    • sub-folder
      • js
      • less
      • bower.json
      • ...
      • etc.

Rather than:

  • theme.zip
    • js
    • less
    • bower.json
    • ...
    • etc.