Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
shrikanth k shrikanth
how to call custom portlet in portal-normal.vm
25 août 2014 23:43
Réponse

shrikanth k shrikanth

Rang: Regular Member

Publications: 111

Date d'inscription: 10 décembre 2013

Publications Récentes

Dear Frds,
Iam new @liferay .......soo can u please help me.
I have one requirement,in Footer i want to call Custom portlet like i want to call lastupdated portlet in footer using portal-normal.vm .
So , can u please help how to do this.

Regards
Shrikanth
Manali Lalaji
RE: how to call custom portlet in portal-normal.vm
25 août 2014 23:55
Réponse

Manali Lalaji

Rang: Expert

Publications: 362

Date d'inscription: 9 mars 2010

Publications Récentes

Hi,

If you want to embed portlet in liferay theme :

$theme.runtime($myPortletId, $queryString, $velocityPortletPreferences.toString())

Also refer : Liferay Wiki , Blog

HTH!
shrikanth k shrikanth
RE: how to call custom portlet in portal-normal.vm
26 août 2014 00:19
Réponse

shrikanth k shrikanth

Rang: Regular Member

Publications: 111

Date d'inscription: 10 décembre 2013

Publications Récentes

Dear mam,
Can i get my view.jsp from Abc-portlet .........using this $theme.runtime($myPortletId, $queryString, $velocityPortletPreferences.toString())

Regards
Shrikanth
karthik reddy
RE: how to call custom portlet in portal-normal.vm
26 août 2014 07:09
Réponse

karthik reddy

Rang: Junior Member

Publications: 50

Date d'inscription: 8 avril 2013

Publications Récentes

Hi try this,

#set ($VOID = $velocityPortletPreferences.setValue('portletSetupShowBorders', 'false'))
#set ($portlet_id = 'Mention ID here ')
#set ($my_portlet_id = "${portlet_id}_INSTANCE_1234")
$theme.runtime($my_portlet_id, "", $velocityPortletPreferences.toString())
$velocityPortletPreferences.reset()

ID--->Goto control panel-->portal-->Plugins Configuration-->Click on your portlet-->Plugin id is available put it for id
Manali Lalaji
RE: how to call custom portlet in portal-normal.vm
26 août 2014 09:18
Réponse

Manali Lalaji

Rang: Expert

Publications: 362

Date d'inscription: 9 mars 2010

Publications Récentes

shrikanth shrikanth:
Dear mam,
Can i get my view.jsp from Abc-portlet .........using this $theme.runtime($myPortletId, $queryString, $velocityPortletPreferences.toString())

Regards
Shrikanth


Hi,

What exactly you mean by getting view.jsp from portlet? Can you clarify more on that?