I'm building a site based on Advanced Forum. I need each forum to display a different theme. ThemeKey does this so nicely with a trigger for which forum taxonomy is in effect, but does not seem to invoke that theme when entering or viewing comments to a post in that forum. So main pages and posting pages for a given forum are in the chosen theme for that forum, but viewing or replying to comments within that forum revert back to the default theme, which is very jarring.

Breadcrumbs know forum you are in even when viewing or replying to comments to posts in that forum, I cannot find a way to make ThemeKey trigger when dealing with comments to posts in forums, as well as it does for main pages and posts within that forum.

Any guidance would be appreciated.

  • You may use hook_custom_theme if you want to set theme for the comments pages.
    – Andrew
    May 27, 2015 at 4:15


Your Answer

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

Browse other questions tagged or ask your own question.