Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pages > Page Editor
    • Labels:
      None
    • Sprint:
      WE | Sprint 8 | Dec17 - Jan4, WE | Sprint 9 | Jan7 - Jan18, WE | Sprint 10 | Jan21 - Feb1, WE | Sprint 11 | Feb4 - Feb15, WE | Sprint 12 | Feb18 - Mar3, WE | Sprint 13 | Mar4 - Mar17
    • Test Type:

      Description

      Steps
      1) Extend the class BaseFragmentCollectionContributor which contains all the logic for reading the contributed fragments that are provided as resources
      2) Override fragmentCollectionKey and servletContext methods
      3) Add the fragments in resources
      4) The structure is the same as the structure for fragments that are exported from the admin UI. The difference is that each fragment.json file must also contain the fragmentEntryKey and the thumbnailPath of the fragment, and collection.json has to contain the fragments that are being contributed.
      5) To provide a thumbnail for the fragment, the developer has to add the thumbnail in resources, as specified in the fragment.json file
      6) deploy new contributor
      7) Start liferay
      8) Create a content page
      9) Assert the extended FragmentCollectionContributor is available as a valid contributor

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            kyle.miho Kyle Miho
            Recent user:
            Marta Elicegui
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package