Jump to content

Set a page to use a different theme


Walther

Recommended Posts

I would like a single page being loaded using a different theme.

I know it's somehow possible, because there's a hook by ModulesGarden ( https://www.modulesgarden.com/products/whmcs/geolocation-hook ) that already do it (switching the theme according the language set).
I tried to dig into ModulesGarden's code (this hook is provided as source), but it's far beyond my capabilities, and I went lost... 😞

I just saw that also @MrGettingRatherFrustrated has a similar issue (he would like to switch language and currency), and also him went lost in digging ModulesGarden's code...

So I realized that also WHMCS documentation is very poor about this: it seems that - somehow - it's possible in a hook to re-set system variables defining template, currency and language, but there's no "how to" about... 😞

Any idea on how to do it?

Edited by Walther
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated