Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Different theme for embedded forums?

I'm interested in both running a full forum, along with it embedded (both forum and comments), but interested in them running different themes based on how it's accessed, is this currently possible?

Comments

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Yes.

    Throw the following line in your /conf/config.php file

    $Configuration['Garden']['MobileTheme'] = 'MobileThemeNameHere';

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    The above is going to change the mobile theme and not the theme used by Vanilla when it's embedded. To do this, you'd have to add some logic to your theme hooks based on the $Sender->RequestMethod method.

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Thanks for the correction, @kasperisager. I seem to have misread the question. :S

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.