Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9649

Use the helper ametys:findPagesIdsByTag in the demo skin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.1.10
    • Démo
    • 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.

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: