Fórum
Web content render weight
Anil T, modificado 6 Anos atrás.
Web content render weight
Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
Hello,
We have two web content and two custom portlets in our site. We are planning to load one of the web content loading after all three portlets loading. Is there any way to get this implementation? I have see web content portlet configurations options but i don't see any option which provide me the solution.
If you know please update here.
Thanks,
Anil T
We have two web content and two custom portlets in our site. We are planning to load one of the web content loading after all three portlets loading. Is there any way to get this implementation? I have see web content portlet configurations options but i don't see any option which provide me the solution.
If you know please update here.
Thanks,
Anil T
Jorge Díaz, modificado 6 Anos atrás.
RE: Web content render weight
Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
I don't think you can do it without adding some custom development.
Perhaps you can use allPortletsReady event in javascript, see: https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/6-2/understanding-your-themes-javascript-callbacks-in-main-js
The idea is to hide webcontent using css and change to visible in JavaScript using that allPortletsReady event.
Perhaps you can use allPortletsReady event in javascript, see: https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/6-2/understanding-your-themes-javascript-callbacks-in-main-js
The idea is to hide webcontent using css and change to visible in JavaScript using that allPortletsReady event.
Anil T, modificado 6 Anos atrás.
RE: Web content render weight
Expert Postagens: 313 Data de Entrada: 14/01/12 Postagens Recentes
Thanks Jorge. This can also be used as one implementation plan.
I have this web content portlet which is loading dynamically using the $theme.runtime method. Can we load these velocity statments using the above javascript snippet?
Thanks,
Anil T
I have this web content portlet which is loading dynamically using the $theme.runtime method. Can we load these velocity statments using the above javascript snippet?
Thanks,
Anil T