Uploaded image for project: 'ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)'
  1. ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  2. LEP-3745

Enable JournalContentFriendlyURLs such that they can be targetted at any layout without specifying a portlet instance id

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.2, 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Because we're not specifying a portlet instance, the portlet will be maximized.

      The url must include the ROOT portlet ID (56). (This is required due to the override "templateId" in the 5th URL segment.)

      An example URL is:

      /web/guest/home/journal_content/56/23/WELCOME

      which places the JournalArticle articleId=WELCOME, groupId=23, using the default template, on the layout /web/guest/home

      Override the default template as usual by appending it as an extra URL segment:

      /web/guest/home/journal_content/56/23/WELCOME/TEMPLATE-ID

      You can still target a specific JC portlet by specifying the instance id of the portlet (found in the portlet "Configuration" as "Portlet ID:") rather than the ROOT portlet ID

      /web/guest/home/journal_content/56_INSTANCE_2222/23/WELCOME/

      or

      /web/guest/home/journal_content/56_INSTANCE_2222/23/WELCOME/TEMPLATE-ID

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                4.3.2
                4.4.0