Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-104

Move up or move down a root page does nothing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.13.0
    • 1.4.0
    • None

      In insert the move up button as following

      <xsl:call-template name="ametys-front-edition-insert-move-page-up-button">
                              <xsl:with-param name="page-id" select="$currentPage/@sitemap:id"/>
                              <xsl:with-param name="page-parent-id" select="$parentId"/>
                              <xsl:with-param name="page-pos" select="$currentPos"/>
                              <xsl:with-param name="number-of-pages" select="$nbPages"/>
                              <xsl:with-param name="button-text"><span class="svg-stroke"><xsl:call-template name="svg-move-up"/></span><span><i18n:text i18n:key="SKIN_FO_EDITION_PAGE_MOVE_UP" i18n:catalogue="skin.{$skin}"/></span></xsl:with-param>
                              <xsl:with-param name="class">g-color-green-v1 g-color-gray-dark-v1--hover g-text-underline--none--hover g-py-5 g-px-20 g-font-size-14</xsl:with-param>
                              <xsl:with-param name="edition-mode-only" select="false()"/>
                          </xsl:call-template>
      

      When, the parent id is the id of sitemap, the action does nothing. There is no error but the page is not moved.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: