掲示板

Unable to embed webcontent portlet in DXP theme

thumbnail
7年前 に Narsingh Pal によって更新されました。

Unable to embed webcontent portlet in DXP theme

Junior Member 投稿: 53 参加年月日: 14/01/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
thumbnail
7年前 に Narsingh Pal によって更新されました。

RE: Unable to embed webcontent portlet in DXP theme

Junior Member 投稿: 53 参加年月日: 14/01/18 最新の投稿
Dear friends,

Any suggestions or workaround ?


Thanks
Narsingh Pal
thumbnail
7年前 に Jitendra Rajput によって更新されました。

RE: Unable to embed webcontent portlet in DXP theme (回答)

Liferay Master 投稿: 875 参加年月日: 11/01/07 最新の投稿
Please try with below snippet.

		 &lt;@liferay_portlet["runtime"]
				portletProviderAction=portletProviderAction.ADD 
				instanceId="GLOBAL_FOOTER"
				portletProviderClassName="com.liferay.journal.model.JournalArticle"/&gt;


Thanks !
thumbnail
7年前 に Narsingh Pal によって更新されました。

RE: Unable to embed webcontent portlet in DXP theme

Junior Member 投稿: 53 参加年月日: 14/01/18 最新の投稿
Thanks Jitendra, it works !!!