CG Template Switcher

1 1 1 1 1 Rating 5.00 (3 Votes)

User Rating: 5 / 5

 

Compat icon 3 x longfirst look joomla 4This very simple module (and plugin) allows you to switch default template style in the frontend, choosing from a list of available template styles.

 

Version 1.0.14 : wrong name in package xml
Version 1.0.13 : caching issue
Version 1.0.12 : No preview => Error
Version 1.0.11 : Joomla! 4.0 compatibility
Version 1.0.10 : CSP Compliance
Version 1.0.9: code optimization
Version 1.0.8: CSS customization
Version 1.0.7: add fancybox on thumbnail image click
Version 1.0.6: add Cancel button, templates order
Version 1.0.4: suppress warnings, 4.0 compatibility
Version 1.0.3: first version (2018 January)

Download Package CG Template Switcher Module 1.0.14
Module + Plugin

(already downloaded 755 times)

Download CG Template Switcher Module
(version 1.0.13)
Download CG Style Plugin
(version 1.0.1)

 

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.

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 preveiw" 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 cg style