Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3688 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm pretty sure I already know the answer to this, but thought I'd ask anyways since I wasn't able to Google an answer...

 

Is there a way to switch between different themes using a script? Specifically without duplicating a layout, changing the theme, and switching between the two layouts?

Posted

Your suspicions were correct - you cannot change theme via script.  Scripts work at the browse level and themes are layout-level.  I sure wish we could!!  :-)


In addition, it is best to keep the number of themes to minimum (1 maybe 2).  When you use a theme, all elements are loaded whether they are used or not.

  • Like 1
Posted

I suppose you could use conditional formatting and globals, and cut a paste layout elements all over the shop, but I suppose that's exactly what you were trying to avoid...

  • Like 1
  • Newbies
Posted

Yup, I'm trying to avoid duplication wherever possible. It's good to know about having multiple themes - I'll keep it to one primary theme for simplicity. Thank you for the responses.

This topic is 3688 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.