
« Retour - Asset Publisher...
Asset Framework
Introduction #
The Asset framework allows any type of content to be displayed/edited/added in asset publisher. These type of content that use this framework are called assets and can be classified using tags and categories.
Assets defined in Core portlets #
By default, in the portal there are several types of content (assets) that implement the Asset Framework:
- Web Content
- Image Gallery Image
- Blog Entry
- Document Library Document
- Bookmark
- Message Board message
- Wiki page
- Calendar Event
And in the plugins, we have:
- Knowledge Base article
Disabling predefined assets #
Assets from the portal can be disabled using this property from portal.properties:
# # Set a property with the prefix "asset.renderer.enabled." and a suffix # with the asset renderer factory class name to enable or disable an asset # renderer factory. The default setting is true. See LPS-6085 for more # information. # #asset.renderer.enabled.com.liferay.portlet.documentlibrary.asset.DLFileEntryAssetRendererFactory=false
Using the asset framework in custom portlets #
You can also create your own assets in a plugin using this framework. For detailed instructions check the chapter about the asset framework in the Developer Guide (direct links per version provided below):
70805 vues