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

As a site administrator I can create a custom master that can be used as the foundation to create site pages

    Details

    • Sprint:
      S01E01 - Fruittis Volcano, S01E02 - Giants Enigma, S01E03 - Floating Bottle, S01E04 - Turtles Swamp

      Description

      Context

      LPS-102202 introduces the concept of Master Pages which can have common elements across several fragment based pages.

      The goal of this Story is to add support for custom master pages for a site. A master can be created using the same tool as other Page Templates, using layouts and fragments. In addition to that, each master must have one and only one special "fragment" which specified the area where creators of pages based on this master will be able to place the page-specific fragments (Some potential names for this special fragment are: "Drop Zone", "Page Fragments Zone", ...).

      It must be possible to keep a Master in draft mode when it's first created and when a later update is done, until all desired changes are made. Whenever changes are made and published, they must be propagated to all pages based on the master.

      Configuration & Look and feel 

      When editing the "Look and feel" of a Master only the following options must be shown:

      • Theme
      • JavaScript: This would be added in addition to what each specific page may provide.

      In other words, the following sections are not shown:

      • Master
      • Mobile device rules

      Also, when editing a page with a master other blank, the page editor should not be able to change the Theme (since it should use the one chosen in the master).

      Master pages should not provide access to the configuration (General, SEO) at this point. Later on we can reconsider whether it would make sense to support some SEO options that could be automatically applied to all pages with the master.

      Acceptance Criteria

      • Given a custom master has been created in a site 
      • When a user tries to create a new page
      • Then the custom master must be offered as an option to create the page and when the page is created the common elements must be part of the page
         
      • Given a page created with a custom master as its base
      • When the page is edited
      • Then the fragments from the master cannot be changed in any way and fragments can only be added to the area identified as the "Drop Zone" by the master creator
         
      • Given a valid master
      • When the creator publishes it
      • Then the changes must be propagated to all pages, page templates and display pages based on the master 
      • Given a master
      •  When the creator are editing the page
      •  Then the configuration icon are not shown

        Attachments

          Issue Links

          1.
          Render the master page when editing a Page LPS-103069 Technical Task Closed Brian Chan  
          2.
          Product QA | Test Scenarios/Cases Creation LPS-103150 Technical Testing Closed Manoel Cyreno  
          3.
          Adds new methods to creates pages with a master page LPS-103203 Technical Task Closed Brian Chan  
          4.
          Adds actions to admin portlet for master pages (add, delete, rename, ...) LPS-103256 Technical Task Closed Brian Chan  
          5.
          Adds new fragments for drop zone LPS-103267 Technical Task Closed Brian Chan  
          6.
          Mark a row or a column as drop zone LPS-103283 Technical Task Closed Brian Chan  
          7.
          Cleanup not needed variables in soy files LPS-103337 Technical Task Closed Brian Chan  
          8.
          Allow only one drop zone per page and only allow publishing when one drop zone is present LPS-103460 Technical Task Closed Brian Chan  
          9.
          Render master page when viewing a Page LPS-103504 Technical Task Closed Brian Chan  
          10.
          Rename masterLayoutPageTemplateEntryId to masterLayoutPlid LPS-103509 Technical Task Closed Eudaldo Alonso  
          11.
          Hide and show options of configuration depending on we are on a master page or we are on a content page LPS-103510 Technical Task Closed Brian Chan  
          12.
          Product QA | Test Validation - Round 1 LPS-103688 Technical Testing Closed Manoel Cyreno  
          13.
          Style drop zone to fit design LPS-103793 Technical Task Closed Brian Chan  
          14.
          Hide portlets controls on master page widgets when displaying in a content page LPS-103823 Technical Task Closed Brian Chan  
          15.
          Apply master pages to page templates LPS-103898 Technical Task Closed Brian Chan  
          16.
          Uses theme options for master pages on pages LPS-103899 Technical Task Closed Brian Chan  
          17.
          After adding a drop zone you cannot add more fragments to the master page LPS-104419 Technical Task Closed Brian Chan  
          18.
          Apply master pages to display pages LPS-104627 Technical Task Closed Brian Chan  
          19.
          Change master page editable values language when changing language in the Translation selector LPS-104925 Technical Task Closed Brian Chan  
          20.
          Master pages should start with a drop zone added to the page LPS-105131 Technical Task Closed Brian Chan  
          21.
          Product QA | Test Validation - Round 2 LPS-106275 Technical Testing Closed Manoel Cyreno  

            Activity

              People

              Assignee:
              manoel.cyreno Manoel Cyreno
              Reporter:
              jorge.ferrer Jorge Ferrer
              Engineering Assignee:
              Eudaldo Alonso
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master