Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-13765

default.layout.template.id and layout.default.template.id - description in portal.properties

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0.5 GA, 6.0.6 GA
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      6.0.x, 5.2.x

      Description

      1. Set the default layout template id.
        default.layout.template.id

      and

      1. Set the default layout template id used when creating layouts.
        layout.default.template.id

      Both are used in the portal, they are used for the same thing, and PropsValues.DEFAULT_LAYOUT_TEMPLATE_ID is used more than PropsValues.LAYOUT_DEFAULT_TEMPLATE_ID

      The second is used only once in LayoutLocalServiceImpl.addLayout when creating the default LayoutTypePortlet.

      From then on, only PropsValues.DEFAULT_LAYOUT_TEMPLATE_ID is used when working with the LayoutTypePortlet.

      Perhaps some kind of clarification in portal.properties that these should both be set if you intend to change the default layouts?

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            marco.abamonga Marco Abamonga
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package