RE: How to customize liferay clay management toolbar

Ali Ahsan, modified 6 Years ago. New Member Posts: 3 Join Date: 5/6/19 Recent Posts
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? 
thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
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.