-
Improvement
-
Resolution: Unresolved
-
Major
-
4.1.10
-
1 - Middle term
-
1 - Easy
Instead of use :
<xsl:for-each select="/cms/inputData/sitemap//page[@PLUGIN_TAGS_DIRECTACCESS]"> <li class="ametys-sidebar-main-nav__item"> <a class="ametys-sidebar-main-nav__link" href="{resolver:resolve('page', /cms/inputData/sitemap//page[@PLUGIN_TAGS_DIRECTACCESS]/@sitemap:id)}"> <span class="ametys-sidebar-main-nav__item-icon ubm-icon-settings"></span> <!-- <span class="ametys-sidebar-main-nav__item-icon ubm-icon-help"></span> --> <!-- <span class="ametys-sidebar-main-nav__item-icon ubm-icon-checklist"></span> --> <!-- <span class="ametys-sidebar-main-nav__item-icon ubm-icon-edit"></span> --> <xsl:value-of select="@sitemap:title" /> </a> </li> </xsl:for-each><
Use the helper :
<xsl:variable name="directaccess" select="ametys:findPagesIdsByTag('DIRECTACCESS')"/>
Because all skins are beginning with the demo skin and we have enough work to clean all artisteer tag Please let me to win time and use this methodon the demo skin.
- is duplicated by
-
CMS-9446 Demo skin: The method used to get the page tagged SEARCH is dirty
- Closed