Backport localize fragment configs feature from 7.4 to 7.3

Issue

Environment

  • DXP 7.3

Resolution

  • Not being able to make localized links for image fragments is a product limitation of DXP 7.3 and below. It was reported as a feature request on LPS-109552 and was implemented on LPS-114124 as a DXP 7.4 feature.

    Based on these two tickets the use case works as intended on DXP 7.3, however, we found a possible workaround for it.

    It is possible to create a custom document type with a localizable field that could contain the link. This way you can map the link from the document which is localized.

    To do that, please:
    1. Go to Documents and Media -> Document Types
    2. Create a new Document Type add a text field to the Main Metadata Fields. Name it "Link" and make it localizable.
    3. Upload the image with this new type of document media, fill out the Link field for any required language.
      https://www.liferay.com/ for English and https://www.liferay.com/de/  for German. (Please note that you have to include the protocol, without that it won't be recognized as an external URL)
    4. Create a content page and add an image fragment.
    5. Map the uploaded image to the fragment on the link configuration change from manual to from content field chose the image as content and map the link field as the field.
    6. Publish the content page.
    7. Check the link in both languages.

 

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助