-
Type:
Feature Request
-
Status: Closed
-
Priority:
Major
-
Resolution: Implemented in Platform
-
Affects Version/s: 5.2.3, 6.0.5 GA, 6.2.10 EE GA1, 6.2.X EE, 7.0.0 CE GA1, 7.0.X, Master
-
Fix Version/s: None
-
Labels:None
One of the most requested feature by our users was a real preview functionality for web contents. With "real" they ment that not approved web contents should be visible as if they were approved inside the page structure.
We've implemented this feature by using the Liferay functionality of impersonating users. So we added a "preview" button in our themes (of course only for users with the right to add/ update and/or approve web contents) which is impersonating the guest user (default user) when clicked.
Needed changes:
1) PortalImpl.renderPortlet: set showPortlet to false if the guest user is not impersonated
2) journal_content\view.jsp: if articleDisplay is null get the articleDisplay by getting the latest not approved article with the same articleId