Blogs
For Advance Web content management, Liferay provides the features of structures and templates. Structures are used for creating the data entry form for the content creators and Templates are responsible for look and feel of a web content on web page.
Suppose, if we want, a single piece of web content( article id is 'weContentArticleId') to display with two different display template( template id is 'displayTemplateId1' and 'displayTemplateId1') for different look and feel.
We can do it, by using the liferay OOTB Web Content Display Portlet. In the configuration mode, it provides the option for overriding the default display tempalte associated with the web content.
We can also do the same thing through the tag library as well.
e.g.
<liferay-ui:journal-article articleId="webContentArtilceId" groupId="<%= themeDisplay.getScopeGroupId() %>" templateId="displayTemplateId1" />
<liferay-ui:journal-article articleId="webContentArtilceId" groupId="<%= themeDisplay.getScopeGroupId() %>" templateId="displayTemplateId2" />

