留言板
Unable to embed webcontent portlet in DXP theme
Narsingh Pal,修改在7 年前。
Unable to embed webcontent portlet in DXP theme
Junior Member 帖子: 53 加入日期: 14-1-18 最近的帖子
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,修改在7 年前。
RE: Unable to embed webcontent portlet in DXP theme
Junior Member 帖子: 53 加入日期: 14-1-18 最近的帖子
Dear friends,
Any suggestions or workaround ?
Thanks
Narsingh Pal
Any suggestions or workaround ?
Thanks
Narsingh Pal
Jitendra Rajput,修改在7 年前。
RE: Unable to embed webcontent portlet in DXP theme (答复)
Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
Please try with below snippet.
Thanks !
<@liferay_portlet["runtime"]
portletProviderAction=portletProviderAction.ADD
instanceId="GLOBAL_FOOTER"
portletProviderClassName="com.liferay.journal.model.JournalArticle"/>
Thanks !
Narsingh Pal,修改在7 年前。
RE: Unable to embed webcontent portlet in DXP theme
Junior Member 帖子: 53 加入日期: 14-1-18 最近的帖子
Thanks Jitendra, it works !!!