Type: Feature Request
Status: Contributed Solution
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
Fix Version/s: None
Liferay Contributor's Agreement:Accept
Similar Issues:Show 5 results
LPS-29666 Not possible to view more than one metadata field in the Asset Publisher LPS-22777 Can not save metadata in asset publisher configuration in staging LPS-18407 Update Publish Date for Web Content on Asset Publisher LPS-34978 ADT Freemarker - Metadata Not Showing LPS-35591 Asset Publisher in manual mode displays no links for Tags and Categories metadata, despite enabling 'tag based navigation'.
Currently the Asset Publisher allows to show some metadata about the assets but some good are missing. My suggestion: add the asset description and the last author of an asset. To do so, follow these steps:
- Add these imports to this file https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/init.jsp
- Change this line https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/init.jsp#L215
- Change this line https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/css/main.css#L145
- Add this style here https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/css/main.css#L173
- Add these lines here https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/display/table.jsp#L177
- Add these lines here https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/asset_metadata.jspf#L64
Furthermore there's a problem with author<>last author. The author for dlfiles is always the creator while on journals/web content the author is the last editor. To fix this, change these lines: https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/display/table.jsp#L144 and https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/asset_publisher/asset_metadata.jspf#L49
You will also need to add "last-author" to the language files.