Picture of Oscar Arango
Theme development in new version
by Oscar Arango - Thursday, 25 January 2018, 9:51 PM
 

Hello community,

So today I upgraded to the new version of Adapt Authoring Tool.  I am also now using the latest version of the theme.  With the new version of the theme we no longer have templates folder because the templates folder is now part of the framework.  My question is how do I add my own .hbs file to overright one already there without erroring out the preview.

For example, If I want to add code to navigation.hbs, how do I implement this with the new theme, I've read that I now create my own templates folder and add the files, but this casues the preview to throw an error.  Any further details would be greatly appreciated.

thanks,

Picture of Matt Leathes
Re: Theme development in new version
by Matt Leathes - Friday, 26 January 2018, 10:05 AM
 

The correct technique is indeed to create a 'templates' folder in your theme then put any .hbs files you want to use in there.

I have no idea why this would be causing preview to throw an error. I would first check you've set it up correctly by trying it in the framework.