Author Topic

Nicolas Lescure

Tuesday 18 December 2007 12:20:08 am

Comment48868

Hi,

You don't have to use a redirection in a template operator.

Try this :

function modify(&$tpl, &$operatorName, &$operatorParameters, &$rootNamespace, &$currentNamespace, &$operatorValue, &$namedParameters) {	
	switch ($operatorName) {		
			case 'tempalte_operator_name':
				$operatorValue = 'the content you want in your template';
				break;			
		}	
	}

You can also download other extensions to help you : http://ez.no/developer/contribs/template_plugins