2014-10-20, 05:42:03
(2014-10-20, 02:36:38)AndreiCurelaru Wrote: but any chance to extend it and bring DynTemplates to use it in the same way but within ... the templates ?
If you use the I18N plugin, you can include a component in your template with (any number of parameters):
Code:
get_i18n_component('component-name', 'parameter-1', 'parameter-2')
Without the plugin, you can use the core function:
Code:
global $args;
$args = array('parameter-1', 'parameter-2');
get_component('component-name');