问题
I've integrated Liferay and Alfresco, using Alfresco as the primary CMS and Liferay as the presentation tier.
In Liferay's control panel, I've added the Alfresco repository using the utility in Documents and Media and the folders and files stored in that repository all display just fine. The issue I am having is this - I do not see a clear process in Liferay's documentation on how to point a specific document stored in that repository to be displayed in a portlet.
I should add that I am using Liferay 6.1 CE on a 64-bit Windows environment. Any pointers would be wonderful.
Thanks!
回答1:
I have not yet worked with Alfresco integration (this is on my list for quite some time now) but you'll need a portlet that interfaces with Alfresco directly, similar to Liferay's "Web Content Display" portlet. (I believe that alfresco provides such a portlet)
Mounting Alfresco's repository to the document & media library will make it available for download - the "document and media display" portlet typically shows certain folders in the document library, but does not embed the html of those documents on a page.
来源:https://stackoverflow.com/questions/9101704/how-do-i-display-liferay-content-from-the-built-in-documents-and-media-repositor