Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alba García
Insert language portlet inside my portal_normal.vm
January 27, 2012 11:58 AM
Answer

Alba García

Rank: Junior Member

Posts: 49

Join Date: February 10, 2011

Recent Posts

Does anybody know how to add a language portlet inside a velocity template (portal_normal.vm)?

I would like to set the navigation portlet as part of my template header.


Thanks in advance!!
Ram Manusani
RE: Insert language portlet inside my portal_normal.vm
January 27, 2012 3:30 PM
Answer

Ram Manusani

Rank: Regular Member

Posts: 124

Join Date: October 27, 2011

Recent Posts

You can add the Portlet in portal_normal.vm by inserting this line..

<div> $theme.runtime("82_INSTANCE_hr2S")


</div>

You can have any 4 letter instance BTW.
Mazhar Alam
RE: Insert language portlet inside my portal_normal.vm
January 30, 2012 12:00 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 188

Join Date: November 25, 2011

Recent Posts

Hi Ram,
Can you please elaborate the code you've mentioned..I tried but didn't worked for me.

Thanks!!
Ram Manusani
RE: Insert language portlet inside my portal_normal.vm
January 30, 2012 9:49 AM
Answer

Ram Manusani

Rank: Regular Member

Posts: 124

Join Date: October 27, 2011

Recent Posts

The Code mentioned above is used for embedding a portlet in a theme.

Make sure you placed the code at the right place in portal_noraml.vm and try redeploying the portlet.

Basically, We are telling the theme to include the language portlet at runtime and to do so we are passing the portlet-ID with a instance.