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

The templates link-top and link-bottom used to display link 'all contents" in filtered contents and filtered pages services should be in the common.xsl files instead of being duplicated in each service

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • 4.0.0
    • None
    • None

      In plugin-web\pages\services\filtered-contents\list_3.3.xsl and main\plugin-web\pages\services\filtered-pages\list_3.5.xsl, the templates below are duplicated whereas it should be in main\plugin-web\pages\services\common.xsl.

      I want to have the same behavior in filtered contents and filtered pages but I am forced to duplicate this templates in each services because the xsl of the service common is overrided by the xsl of each services.

      <!-- Template used to display link "all contents" on the top -->
          <xsl:template name="link-top">
              <xsl:comment>empty</xsl:comment>
          </xsl:template>
      
          <!-- Template used to display link "all contents" on the bottom -->
          <xsl:template name="link-bottom">
              <xsl:call-template name="link"/>
          </xsl:template>

          [CMS-7306] The templates link-top and link-bottom used to display link 'all contents" in filtered contents and filtered pages services should be in the common.xsl files instead of being duplicated in each service

          Laure Lopez made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.2.0 [ 14425 ]
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          I don't think that is possible because "link" is restricted to only a few service (filtered_content, filtered_pages and the new search engine)

          you should consider importing another wsl very soon in the order import to override the 3 easily

          Raphaël Franchet added a comment - I don't think that is possible because "link" is restricted to only a few service (filtered_content, filtered_pages and the new search engine) you should consider importing another wsl very soon in the order import to override the 3 easily
          Laure Lopez created issue -

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

              Created:
              Updated:
              Resolved: