Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.8.0-b1
-
Fix Version/s: 5.8.0-b1
-
Component/s: Client Interface
-
Labels:None
Description
Theme developers like to preview their themes on a working Blesta installation. Companies like to preview a theme they are working on before making it live for everyone. Many applications allow this by passing the name of the template/theme in the URL. For example ?variable=THEMENAME
This would control which template set is loaded, for example ?variable=bootstrap would load the default theme (which would happen without doing this if it's the one selected under Settings > Company > Look & Feel > Template), but ?variable=mytheme would load the /app/views/client/mytheme theme instead.
Additionally, we should look at including a parameter for the color theme in Blesta also. You may want to change both the template, and the color theme, or just one or the other.
In terms of naming, open for discussion, but something like this might work:
?bltemplate=templatename
?bltheme=themename-or-ID
?bltemplate=templatename&bltheme=themename-or-ID
Since the terms template and theme are very generic, prepending those with "bl" for blesta may avoid any future conflict in naming.
If it's not easy to keep the variable in the URL persistently, we could write a cookie with the details.
See original feature request here https://requests.blesta.com/topic/specific-theme-preview-without-activation
Re-assigned to version 5.8.0-b1, version assignment wasn't updated.