Chameleon

You don’t have to be stuck with one template per menu item! Chameleon gives easy controls to switch template, toggle individual menu items, and add CSS/JS to your page according to:

 

★ Language
★ Browser (IE v6, FF, iPhone, iPad etc; incorporates Categorizr for smart detection in J2.5)
★ Page type (article, front page, search results, etc)
★ Virtuemart page types, cart contents, categories & coupon usage
★ Date, time, and time of day
★ User id and group, logged-in and logged-out users
★ Article id, section and category
★ Component
★ Domain / sub-domain of your site
★ Page URL and HTTP referrer
★ Random probability
★ GeoIP detection of the guest’s city/country
★ All “children” of a given menu or menu item
★ Anything else you can detect with a snippet of PHP.

As a result of any “rule” you can perform these actions for the current page:

★ set the template/style
★ dynamically “unpublish” menu items
★ switch the “default” Joomla page (site home page)
★ switch which menu item will be highlighted as “Active”
★ do an internal or external redirection
★ set metadata, page title, and add JS/CSS
★ set the page language
★ run PHP code

Examples of use:

★ Use a different template and change some menu items for logged-in users and guests
★ Use a different template just for IE users
★ Use a different template if your site is embedded in FaceBook
★ Do A/B testing of two different templates, based on random probability. Use different Google Analytics on each template, then compare the performance.
★ Use different templates for uk.domain.com and us.domain.com
★ Timed styles, templates, menu items and more

Chameleon for Joomla 1.5 also contains a template duplicator. With 1 click you can duplicate any installed template directly on your site – great for making backup copies of your templates before altering them, or allowing you to use slightly altered copies of the same template on different pages.

CHANGELOG
v2.28 (26 Nov 2012)
* added support for VirtueMart 2.0.14; detection of new pagetypes notify/recommend/manufacturer product listing.

v2.27 (23 Jul 2012)
* added support for Categorizr device detection (mobile/tablet/desktop/tv)

v2.26 (14 May 2012)
* new actions: setting language and domain

v2.25 (07 May 2012)
* added support for VirtueMart 2.0.6

v2.23 (08 Mar 2012)
* Joomla 2.5-compatible
* full VirtueMart 2.0 support (on J1.7-2.5 ONLY)
* new action: full dynamic control of VirtueMart Shopper Group as result of any conditions.

v2.22/1.19 (03 Oct 2011)
* preliminary support for VirtueMart 2.0 (Joomla 1.7 only)
* added support for making rules based on prior purchases in VirtueMart
* improved detection of “article submit” pages
* added debug logging to the “redirect” action

Leave a comment