1

I'm using Profiler to create a Drupal 7 installation profile, which works great -- however, it doesn't set Seven as an admin theme, and thus falls back on Bartik (The default theme).

Is there any way to set the default admin theme within Profiler?

  • 1
    Could you not just pop variables[admin_theme] = seven in the Profiler .info file? – Chapabu Nov 27 '12 at 13:48
  • That doesn't work, just tried it. – aendrew Nov 27 '12 at 14:12
0

One way to accomplish this is to use Strongarm to set the admin theme variable as part of a Feature.

Given that the "Standard" Drupal installation profile creates a lot of other stuff that won't be in a custom installation profile -- Basic Page and Article content types, for instance -- I've created a Feature with all those and added the Admin Theme Strongarm variable as part of that.

That said, leaving question open in case somebody knows how to set the Admin theme as part of a Profiler makefile.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.