Currently the block settings for a theme live in the app's settings.js but (in my opinion) it would be more intuitive and easier to create new themes if these settings were in the themes js file.

Creating a new function to load theme blocks or extending template_info are possible fixes.

Comments

tyler.frankenstein’s picture

Status: Active » Closed (won't fix)

Sorry, I don't agree with this. The only reason I don't is because once more core/contributed themes are available this could run into conflicts. For example, this core theme:

themes/easystreet3

If someone wanted to change the blocks for the theme, they would be messing with a JS file in the theme, then if a new version of the theme came out their changes would be overwritten. On the flip side, if a contrib theme was available:

app/themes/some_contrib_theme

Again, the same thing would happen, if custom changes were made, and then a new version of the theme came out, the custom changes would run the risk of being overwritten.

So for now, and for simplicity, I'd like to keep all custom settings in the settings.js file. Although, I'd really like to make the app's settings configurable on a Drupal form on the Drupal site in the future, but that is way ahead on the roadmap.