Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
kumar E
Adding portlet to footer
March 6, 2013 8:06 PM
Answer

kumar E

Rank: Junior Member

Posts: 64

Join Date: October 3, 2012

Recent Posts

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
Bart Simpson
RE: Adding portlet to footer
March 7, 2013 1:26 AM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

Recent Posts

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.
kumar E
RE: Adding portlet to footer
March 7, 2013 9:29 PM
Answer

kumar E

Rank: Junior Member

Posts: 64

Join Date: October 3, 2012

Recent Posts

hi bart
how to get my custom portlet id
Meera Prince
RE: Adding portlet to footer
March 7, 2013 9:50 PM
Answer

Meera Prince

Rank: Liferay Master

Posts: 841

Join Date: February 8, 2011

Recent Posts

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
Jitendra Rajput
RE: Adding portlet to footer
March 7, 2013 9:54 PM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 815

Join Date: January 7, 2011

Recent Posts

$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
kumar E
RE: Adding portlet to footer
March 7, 2013 10:43 PM
Answer

kumar E

Rank: Junior Member

Posts: 64

Join Date: October 3, 2012

Recent Posts

hi jitendra,meera

thank u for posting suggestions
i solved my issue
thank u