I am creating a drupal 6 installation profile and I want to enable a specific theme on installation. How can I do that?

2 Answers 2


In your profile_name.info, add a new line with theme = mytheme.


Use Install Profile API's install_enable_theme() function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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