Liferay DXP 2026.Q4    |    Release Webinar: 18 November 2026    |    Replay coming soon! 

Blogs

Embeded the portlet and Add_JSP in custom_theme

abhishek kumar
abhishek kumar
Uma leitura de menos de um minuto

As per for the beginners when we are creating some project we want our project should be appeared in custom_theme, as for this so  much R&D we need but if we try this code it will work

In portal_normal.vm if we use:- $theme.runtime("portletid");

In freemake and styled theme(portel_normal.ftl) we can use :-         
${theme.runtime("portletid", "", "")}

In theme we can use :- 
$theme.include($themeServletContext, "/NewFile.jsp")
note:-NewFile.jsp is location of a jsp file that we created by right click in our

project. 


Note:-PortletId refers in mine sql
 

if you are using lportal;
use this
use lportal;
show tables;
select * from portlet;
then lastly you will get the portlet war copy that and paste instead of portletid



 

                                     hope this helps you....smiley

Author

ABHISHEK-KUMAR

Liferay Top Contributor Q4 2015 Award Winner

http://abhishek2371.blogspot.in/

 
Comentários da Página

Related Assets...

Nenhum Resultado Encontrado

More Blog Entries...

Himanshu Chauhan
Novembro 20, 2026
Tony Lim
Novembro 19, 2026