This is gonna be a very small post, but trust me these two lines are amazing.
This code add portlet on the current page.
This code add portlet on the current page.
1
2
3
| Liferay.Portlet.add({ portletId: portletId }); You just have to use it inside a javascript function, like:
|
No comments:
Post a Comment