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

[Multi site] When a content is shared between 2 sites, the internal links must be external links

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 3.5.2
    • None
    • None
    • 2 - Long term
    • 4 - Structuring

        [CMS-5190] [Multi site] When a content is shared between 2 sites, the internal links must be external links

        Even if I see the point this is quite difficult.
        Indeed, when the link is inserted "internal" or "external" is only a default style and "open in a new window" only has a default value.
        What I mean, is that maybe the user really want the link to be internal and we cannot make the difference between if the user that kept the default "internal" value... if he choosed it

        and maybe he pointed to your site with an internal link, and you would transform it to an external one

        The only solution I see is that to get links of type "page". If the page is in the final site, convert external to internal (but keep any other style) and if the page is not in the final site convert internal to external (but keep any other style)
        internal and external are skin styles... so this has to be done in the skin : the kenel could only provide helper for docbook2html.xsl

        Raphaël Franchet added a comment - Even if I see the point this is quite difficult. Indeed, when the link is inserted "internal" or "external" is only a default style and "open in a new window" only has a default value. What I mean, is that maybe the user really want the link to be internal and we cannot make the difference between if the user that kept the default "internal" value... if he choosed it and maybe he pointed to your site with an internal link, and you would transform it to an external one The only solution I see is that to get links of type "page". If the page is in the final site, convert external to internal (but keep any other style) and if the page is not in the final site convert internal to external (but keep any other style) internal and external are skin styles... so this has to be done in the skin : the kenel could only provide helper for docbook2html.xsl

        with class "external"

        Laurence Perier added a comment - with class "external"

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

            Created:
            Updated: