I figured out how to add it, but that leads to another problem.
class TasksController < ApplicationController
self.append_view_path(File.join(RAILS_ROOT, 'public/sites/site-1/
themes/mytheme/templates')) # Add adva cms theme path(s)
layout "content"
...
end
This works now... but adva_cms is pre-populating the @site variable
with several before_filters in ArticlesController < BaseController
(article_controller.rb). Is there a way to populate the @site
variable so that I can use the theme across my entire rails app? Or,
with the amount of theme integration into adva, do I need to duplicate
my theme and customize it for my own controlllers, and leave the
template inside of /app/views/layouts/? That would be less DRY... is
there a best practice or recommendation for this use-case?