This very simple module (and plugin) allows you to switch default template style in the frontend, choosing from a list of available template styles.
Version 2.0.7 (Update : 18/02/2023)
- - Remove jQuery dependency
- - Remove FancyBox
- # Joomla 3.10 compatibility
- # Update/Changelog files on github
- # Autoselect current template
- # Display thumbnails from media directory
- # No click on thumbnail
- # SetTemplate expects an object
Version 1.0.3: first version (2018 January)
Download Package CG Template Switcher Package For Joomla! 3.10 | |
Download not allowed (already downloaded 2805 times) | |
Download Package CG Template Switcher Package For Joomla! 4.x | |
Download not allowed (already downloaded 443 times) |
This very simple module (and plugin) allows you to switch default template style in the frontend, choosing from a list of available template styles.
It may me used for demo/testing purpose, and, also, for visually impaired people.
The user picks up default template style from a list as shown on the right side of this page, then, CG Style plugin displays all pages using this new default template style.
With version 1.0.15 (module 1.0.14), autoswitch option switches templates as soon as you select a new one, without having to click on Select button, which is hidden if autoswitch is set.
While testing this module, please note that my alternative template is not that beautiful, it's just there for testing purpose.....
The user choice is stored in a cookie. Its duration is set in "duration" parameter (in days). If you set it up to 0 value, cookie's duration will be current session.
If "templates preview" parameter is set, CG Template Switcher module displays template_thumbnail.png et template_preview.png files. The size of these files may impact module performance, make sure that they are not too big. Also, check that all module positions are defined in your templates.
Note: don't forget to enable Template Style Switcher plugin