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
RE: How to customize liferay clay management toolbar
I want to add customization in terms of functionality of clay:management-toolbar as well as i want to introduce new buttons in managment toolbar ?
How should i achieve this is they any way to override clay managment toolbar taglib?
How should i achieve this is they any way to override clay managment toolbar taglib?
Hey Ali, What you want to do is override a core JSP. You can find the docs for this action here: https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/overriding-core-jspsThat's a link to the Liferay 7.0 docs, but the way you go about it in 7.1 and 7.2 is the same (not sure which version you are on).
Some words of caution though. Because theses are "global" files the changes you make are not going to be isolated to just the place where you are planing to use them. Everywhere the taglib is used whether it is in the Control Panel, and out of the box plugin, or a complete separate site (but within the same Liferay instance) will be affected. I'm not saying you shouldn't do it (I have done such things MANY times myself for all manner of taglibs), but some food for thought so you don't end up with unexpected surprises.
Some words of caution though. Because theses are "global" files the changes you make are not going to be isolated to just the place where you are planing to use them. Everywhere the taglib is used whether it is in the Control Panel, and out of the box plugin, or a complete separate site (but within the same Liferay instance) will be affected. I'm not saying you shouldn't do it (I have done such things MANY times myself for all manner of taglibs), but some food for thought so you don't end up with unexpected surprises.