![]()
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.5.5 (Update : 15/09/2026)
- # Increase security on ajax call : checktoken, no need to send userid
- # Use ConseilGouz Library 1.1.4
- # Joomla 6 : addscript removed
- # Use ConseilGouz Library
- # Joomla 6 : getApplication()->input removed
- # Field Version : use webassets and remove getDbo
- # Joomla 6 compatibility : dispatcher error in fields installation
- # Joomla 6 : JPATH_PLATFORM deprecated
Version 1.0.3: first version (2018 January)
- Joomla! 4.x/5.x/6.x
- Joomla! 3.x
| Download Package CG Template Switcher Package For Joomla! 4.x/5.x/6.x |
|
| Download prohibited
(already downloaded 1016 times) |
Note : This version is not maintained anymore.
| Download Package CG Template Switcher Package For Joomla! 3.10 |
|
| Download prohibited
(already downloaded 3254 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.
From Niklas's idea, version 2.3.0 introduces one-click button. You may link a template to it, apply Bootstrap dark mode (if your template allows it), or invert colors with grayscale.
In version 2.3.0, 2 user custom fields have been added to, when a user is loggued in, store his preferred template and dark mode choice.
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 "dark mode" 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 
© 2026 ConseilGouz