Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0 EE SP1 (6.0.11)
    • Fix Version/s: 6.0 EE SP2 (6.0.12)
    • Component/s: Themes
    • Labels:
      None

      Description

      This feature will allow any JSPs 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)

      To enable this feature, add the following to portal-ext.properties:

      theme.jsp.override.enabled=true

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.kong Samuel Kong
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.0 EE SP2 (6.0.12)