I'm using button bar option for Topmenu and now I would like to add Collection app. I followed documentation and when I go to frontend it shows with a wrong format.
This is the code that I have added:
<div class="search {//config/buttonpos/@value}">
<xsl:if test="//menu/search">
<a href="/{//menu/search/@url}/?sparam=in" class="btn btn-sigsiu" role="menuitem">
<xsl:value-of select="//menu/search"/>
</a>
</xsl:if>
</div>
<div>
<li>
<xsl:copy-of select="/*/collection/button/*"/>
</li>
</div>
<div class="clearfix"></div>
</div>
</xsl:template>
Thanks for your support,