Embedding portlet in a webcontent


We can embed portlet in a web content by using the following tag

  <runtime-portlet name ="33"></runtime-portlet>  // here we are embedding the blogs portlet

1.Create the web content by selecting the basic web content .

  •      Enter the title and when entering the content click on the source of the CKEditor and place the above tag in the editor.
  •     Click on the Save button. 
  •      Place the web content display portlet in the  portal . select the appropriate web content . Then you see the Blogs portlet added in the web content.

Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate