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

Adding an attribute to the sitemap inputData that identifies the redirect pages to another site

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • None
    • None
    • None

      Currently we have a sitemap attribute type="PAGE" on page redirects to CMS (to the current site or another site).
      It might be interesting to have an attribute to differentiate current site and another.

          [CMS-5563] Adding an attribute to the sitemap inputData that identifies the redirect pages to another site

          So the workaround is to get redirection type "page", get the redirection value that is a page id and do ametys:site(pageId) to know if it is equals to the current site

          Feel free to reopen if you think that's too complex to be done in XSL and useful enought to be in the kernel

          Raphaël Franchet added a comment - So the workaround is to get redirection type "page", get the redirection value that is a page id and do ametys:site(pageId) to know if it is equals to the current site Feel free to reopen if you think that's too complex to be done in XSL and useful enought to be in the kernel

          Raphaël Franchet added a comment - - edited

          The sitemap input data cannot do that (and ametys:sitemap() neither)
          The solution could be to add another method ametys:site() that could take a pageId

          which was done CMS-5565

          Raphaël Franchet added a comment - - edited The sitemap input data cannot do that (and ametys:sitemap() neither) The solution could be to add another method ametys:site() that could take a pageId which was done CMS-5565

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: