PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30592

Allow abstract summary and small image to be created/assigned to Web Content, documents, etc.

    Details

    • Branch Version/s:
      6.1.x
    • Similar Issues:
      Show 5 results 

      Description

      {
              "assets": [
                        {
                            "name": "company_logo.png",
                            "tags": [
                                   "logo",
                                   "company"
                            ]
                        },
                        {
                            "name": "Web Content With Image.xml",
                            "tags": [
                                   "webcontent",
                                   "withimage"
                            ],
                            "abstract_summary": "Web Content Name Abstract.txt",
                            "small_image": "company_logo.png"
                        }
              ]
      }
      

      Web Content Name Abstract.txt would be located in journal/articles/ folder

        Issue Links

          Activity

          Hide
          Shinn Lok added a comment -

          Can this be revisited? Not all assets can have abstracts.

          Show
          Shinn Lok added a comment - Can this be revisited? Not all assets can have abstracts.
          Hide
          Ryan Schuhler added a comment -

          Where would be a better place to put abstracts then?

          Show
          Ryan Schuhler added a comment - Where would be a better place to put abstracts then?
          Hide
          Ryan Schuhler added a comment -

          Can we make abstracts an optional field or only available when the asset is web content?

          Show
          Ryan Schuhler added a comment - Can we make abstracts an optional field or only available when the asset is web content?
          Hide
          Shinn Lok added a comment -

          Chose not to read the abstract summary from another file. Otherwise it could potentially become really confusing/messy. See test-resources-importer-portlet.

          Show
          Shinn Lok added a comment - Chose not to read the abstract summary from another file. Otherwise it could potentially become really confusing/messy. See test-resources-importer-portlet.
          Hide
          Brian Chan added a comment -

          Renamed it to abstractSummary and smallImage and

          Show
          Brian Chan added a comment - Renamed it to abstractSummary and smallImage and
          Hide
          Edward Gonzales added a comment -

          Hello everyone! We are in the process of removing component "Theme" from LPS. Please make the necessary adjustments to affected your filters. Thanks!

          Show
          Edward Gonzales added a comment - Hello everyone! We are in the process of removing component "Theme" from LPS. Please make the necessary adjustments to affected your filters. Thanks!
          Hide
          Evan Nagayama added a comment -

          PASSED Manual Testing using the following steps:

          1. Add the assets.json to an existing theme
          2. Change the assests in the .json file to match existing content, to make testing easy
            • I added mine to zoe-resort-theme
              {
              	"assets": [
              		{
              			"abstractSummary": "This is an abstract summary.",
              			"name": "Welcome.html",
              			"tags": [
              				"web content"
              			],
              			"smallImage": "image_gallery.png"
              		},
              	]
              }
              
          3. deploy the plugin with the resource-importer-web
          4. go to the content and assert the abstract summary and the small image (see screenshot)

          Completed on:
          Tomcat 7.0.40 + MySQL 5.5. Portal 6.1.x EE GIT ID: c9e18025524702148b85f3342cdb58126174bd1e.
          Tomcat 7.0.40 + MySQL 5.5. Portal 6.2.x GIT ID: b7edb50c5023866557ba7ff175591e8f57e47ce5.

          Show
          Evan Nagayama added a comment - PASSED Manual Testing using the following steps: Add the assets.json to an existing theme Change the assests in the .json file to match existing content, to make testing easy I added mine to zoe-resort-theme { "assets" : [ { "abstractSummary" : "This is an abstract summary." , "name" : "Welcome.html" , "tags" : [ "web content" ], "smallImage" : "image_gallery.png" }, ] } deploy the plugin with the resource-importer-web go to the content and assert the abstract summary and the small image (see screenshot) Completed on: Tomcat 7.0.40 + MySQL 5.5. Portal 6.1.x EE GIT ID: c9e18025524702148b85f3342cdb58126174bd1e. Tomcat 7.0.40 + MySQL 5.5. Portal 6.2.x GIT ID: b7edb50c5023866557ba7ff175591e8f57e47ce5.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Structure Helper Panel