Replacing top-head.jsp Liferay with a custom one

蹲街弑〆低调 提交于 2019-12-11 15:05:33

问题


In portal-normal.ftl I use top-head.jsp is it possible to replace it and use the custom page?


回答1:


Yes, it is. In general, you can customize everything in Liferay.

However, this and your other question make me believe that you are going for the wrong solution to whatever problem you have. If you look at top_head.jsp, there is a lot of functionality made available on every page. Unless you're prepared to lose it all, you'll have to replace it with your own implementation.

In order to add something to top_head.jsp, you should use one of the two offered dynamic includes.

While a simple "yes" fully answers your question, it might be more productive to let us know about the underlying problem that you're intending to solve with this technique. I bet that there's a better solution for it, and especially one that is a lot easier to maintain.



来源:https://stackoverflow.com/questions/55871855/replacing-top-head-jsp-liferay-with-a-custom-one

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!