R 
		
				
			
		ragtek
Guest
I've tried to include a template with this code:
	
	
	
		
 but it's not working.
 
Then i tried:
	
	
	
		
but that's also not working.
A way would be to create a exact copy of my template and just to change the template name, but that's against DRY
Is there a other way for this?
				
			
		PHP:
	
	<xen:include template="{$messagetamplate}">Then i tried:
		PHP:
	
	<xen:if is="$foo">
<xen:include template="1">
<xen:else />
<xen:include template="2">A way would be to create a exact copy of my template and just to change the template name, but that's against DRY

Is there a other way for this?

 
 
		 
 
		