Newbies Asdfko0 Posted October 8, 2014 Newbies Posted October 8, 2014 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?
LaRetta Posted October 8, 2014 Posted October 8, 2014 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. 1
MikeKD Posted October 8, 2014 Posted October 8, 2014 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... 1
Newbies Asdfko0 Posted October 10, 2014 Author Newbies Posted October 10, 2014 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.
Recommended Posts
This topic is 3948 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 accountSign in
Already have an account? Sign in here.
Sign In Now