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

Allow portal jsps to be overloaded by theme templates

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      This feature will allow any jsp in the portal that is:

      a) defined as "portlet_content" of a tile in tiles-defs.xml (or tiles-defs-ext.xml)
      b) is invoked via the <liferay-util:include/> tag

      to be overloaded on a theme basis (different on every page or community using a different theme, if applied).

      The pattern will require that within the theme's templates folder the complete path to the original JSP be maintained with the file extension replaced to match that of the theme's chosen template language.

      e.g. This would overload the original A) using the Velocity template language B) in the "classic" theme:
      A) webapps/<ROOT>/html/portlet/asset_publisher/display/abstracts.jsp

      B) classic/templates/html/portlet/asset_publisher/display/abstracts.vm
      (or in following the merge technique used by themes, in:
      classic/_diffs/templates/html/portlet/asset_publisher/display/abstracts.vm)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              raymond.auge Raymond Auge
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 46 weeks, 6 days ago

                  Packages

                  Version Package
                  --Sprint - SP
                  6.1.0 CE RC1