留言板

Adding portlet to footer

vinod kumar,修改在11 年前。

Adding portlet to footer

Junior Member 帖子: 64 加入日期: 12-10-4 最近的帖子
hi all,

i have a requirement that i need to add custom portlet to footer part
By using themes
how to achieve this please help me.

thank u
vinod
thumbnail
Bart Simpson,修改在11 年前。

RE: Adding portlet to footer

Liferay Master 帖子: 522 加入日期: 11-8-29 最近的帖子
https://www.liferay.com/web/raymond.auge/blog/-/blogs/embedding-portlets-in-themes-on-liferay
Try this and post the issue (if any) you face.
vinod kumar,修改在11 年前。

RE: Adding portlet to footer

Junior Member 帖子: 64 加入日期: 12-10-4 最近的帖子
hi bart
how to get my custom portlet id
thumbnail
meera prince,修改在11 年前。

RE: Adding portlet to footer

Liferay Legend 帖子: 1111 加入日期: 11-2-8 最近的帖子
Hi vinod kumar,

Write this in your portlet jsp page you can get portlet ID
themeDisplay.getPortletDisplay.getId();

or

Drag the portlet into page and click on Maximize + symbol of portlte which is in right side corner obeserve URL you can see following string p_p_id

p_p_id=pdfvieraction_WAR_PDFViewerportlet


Regards,
Meera Prince
www.liferaysavvy.com
thumbnail
Jitendra Rajput,修改在11 年前。

RE: Adding portlet to footer

Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
$theme.runtime("sample_WAR_sampleportlet");

There are so many threads available on forum for how to embed to portlet in theme.

https://www.liferay.com/community/forums/-/message_boards/message/15421419
https://www.liferay.com/community/forums/-/message_boards/view_message/14914126
vinod kumar,修改在11 年前。

RE: Adding portlet to footer

Junior Member 帖子: 64 加入日期: 12-10-4 最近的帖子
hi jitendra,meera

thank u for posting suggestions
i solved my issue
thank u