New way of publishing content with the Asset Publisher
Company Blogs January 4, 2011 By Sergio González Staff
I want to make a quick update regarding the latest thing we've been working on: new way of publishing content with the Asset Publisher.
The 'classic' way of publishing content with the Asset Publisher consisted on clicking the "Add New" button, the page changed the context to the respective page of the portlet (i.e. Document Library) where the user had to fill the information, and publish it. This could create confussion to the user because of the change of context within pages and portlets.
We thought we could improve this by using a pop up that would be opened when the user clics "Add New" button. Then, the user could fill the information and publish the new content while staying at the same page.
From a user point of view, the content of the pop up remains with the same view. However, from a technical point of view, the pop up is implemented using a AUI Dialog Iframe that links to the respective portlet (i.e. Document Library) in the Control Panel.
Using the Portlet from the Control Panel (instead of adding the portlet to the community/organization/group) allows us to add new features, as the ability to create new content in all the different scopes within the same Asset Publisher and without creating any security hole (In next image you can see that there are two buttons to add content).
This way, publishing new content becomes even easier and more powerful with Liferay.
Hope you enjoy it! :)