Foros de discusión
Unable to embed webcontent portlet in DXP theme
Narsingh Pal, modificado hace 7 años.
Unable to embed webcontent portlet in DXP theme
Junior Member Mensajes: 53 Fecha de incorporación: 18/01/14 Mensajes recientes
Dear Friends,
I am trying to embed webcontent portlet in DXP theme. Below is my code snippet of the freemarker template
<div class="row">
<@liferay_portlet["runtime"]
portletProviderAction=portletProviderAction.VIEW
portletProviderClassName="com.liferay.journal.model.JournalArticle"
/>
</div> <!--row -->
Instead of showing webcontent portlet, asset publisher portlet is being displayed. Please let me know if I am doing anything wrong here.
Thanks in advance!!
Thanks and Regards
Narsingh Pal
I am trying to embed webcontent portlet in DXP theme. Below is my code snippet of the freemarker template
<div class="row">
<@liferay_portlet["runtime"]
portletProviderAction=portletProviderAction.VIEW
portletProviderClassName="com.liferay.journal.model.JournalArticle"
/>
</div> <!--row -->
Instead of showing webcontent portlet, asset publisher portlet is being displayed. Please let me know if I am doing anything wrong here.
Thanks in advance!!
Thanks and Regards
Narsingh Pal
Narsingh Pal, modificado hace 7 años.
RE: Unable to embed webcontent portlet in DXP theme
Junior Member Mensajes: 53 Fecha de incorporación: 18/01/14 Mensajes recientes
Dear friends,
Any suggestions or workaround ?
Thanks
Narsingh Pal
Any suggestions or workaround ?
Thanks
Narsingh Pal
Jitendra Rajput, modificado hace 7 años.
RE: Unable to embed webcontent portlet in DXP theme (Respuesta)
Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
Please try with below snippet.
Thanks !
<@liferay_portlet["runtime"]
portletProviderAction=portletProviderAction.ADD
instanceId="GLOBAL_FOOTER"
portletProviderClassName="com.liferay.journal.model.JournalArticle"/>
Thanks !
Narsingh Pal, modificado hace 7 años.
RE: Unable to embed webcontent portlet in DXP theme
Junior Member Mensajes: 53 Fecha de incorporación: 18/01/14 Mensajes recientes
Thanks Jitendra, it works !!!