I want to be able to copy a slots contents and then render it with various different templates depending on the content types in the slot on the same page. In the old version there was a mutate slots function that allowed you to do this and map multiple old variants to new variants. Is there a way to do this in 6.52? I only see a way to specify a single template.
#__slotsetup("PWS_Middle_Left_Slot" "template=S_Anchor_Abstract_v")##
#set($cloneditem = $sys.assemblyItem.clone())##
$cloneditem.setNode($sys.item)##
#set($sys.currentslot.relresults = $rx.asmhelper.assemble($cloneditem,$sys.currentslot.slot,$completeparams))##
#if($sys.currentslot.relresults.size() > 0)##
#foreach( $relresult in $sys.currentslot.relresults )##
#set($body = "$rx.doc.extractBody($relresult)")##
<a name="$relresult.getNode().getProperty("rx:sys_contentid").String">
$body##<xsl:attribute name="name"><xsl:value-of select="@contentid"/></xsl:attribute>
</a>
#end##
#end##