Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Overriding the asset publisher jsp files
hi ,
I want to override asset publishers , web content porltet to define a custom publishing platform outside control panel.I had done using Liferay 6.2 using Hooks , i want to know how i can do similar things using liferay 7.1 jsp files of the portlets?
I want to override asset publishers , web content porltet to define a custom publishing platform outside control panel.I had done using Liferay 6.2 using Hooks , i want to know how i can do similar things using liferay 7.1 jsp files of the portlets?
Look here:
https://dev.liferay.com/de/develop/tutorials/-/knowledge_base/7-0/overriding-jsps
Note: While Fragment overrides are deprecated, they are still necessary very often.
I think, it was a bit premature to deprecate the fragment functionality. On the one hand it says: There is a new method, use it whenever you can. But one the one hand, it is very often not possible to do it with the new methods. And I think it is confusing, since people see the deprecation and look for a replacement and there is none.
https://dev.liferay.com/de/develop/tutorials/-/knowledge_base/7-0/overriding-jsps
Note: While Fragment overrides are deprecated, they are still necessary very often.
I think, it was a bit premature to deprecate the fragment functionality. On the one hand it says: There is a new method, use it whenever you can. But one the one hand, it is very often not possible to do it with the new methods. And I think it is confusing, since people see the deprecation and look for a replacement and there is none.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™