devel:template_integrate_plugins
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.
Integration:
<?php $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: 2023-09-01 16:18 by Klap-in