Inserting the theme selector in the blog interface

With a widget
The easiest way is to use the Theme Selector widget that displays a list of available themes.
In the template file
The switch can also be integrated into the blog interface by editing your template file. Simply add the {{tpl:themesList}} instruction in the desired location.

Understanding Models

Arlequin is notable for its flexible configuration, due to the concept of models that create their own interfaces for the theme selector.

The information needed to operate the theme selector contained in variables of the form %n$s where n is an integer denoting a variable.

Here is the list of variables that you can use:

In switcher HTML code
VariableMeaning
%1$sCurrent page URL
%2$sItems HTML code
In items HTML code
VariableMeaning
%1$sCurrent page URL
%2$sA suffix to send theme setting through URL, e.g. "&theme="
%3$sTheme identifier only to be used in a URL
%4$sTheme name
%5$sTheme description
%6$sTheme identifier

Add your own predefined templates

If you are the administrator of a platform of blogs, you can change the predefined templates by editing the file plugins/arlequin/models.php.

Suggestion: some interesting models can be created in association with JavaScript or CSS property, changing your themes.