It's better when it's simple

User Tools

Site Tools


Integrate plugins into your template

There are plugins that adds buttons, switchers and other useful interface elements. On this page the integration of such elements is explained, so you can support them out of the box.

Translation plugin

The Translation plugin delivers a language switcher, which shows a list of available translations for a page.


$translation = &plugin_load('helper','translation');
if ($translation) echo $translation->showTranslations();

This loads the plugin and when the translation plugin is available the switcher is shown.

For more plugin details see Translation plugin.

Templates supporting this plugin are tagged with Translation.

devel/template_integrate_plugins.txt · Last modified: 2013-04-10 12:22 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki