Forums de discussion

Is there a recommended way to update the javascript.barebone.files

Brad Worsfold, modifié il y a 6 années.

Is there a recommended way to update the javascript.barebone.files

New Member Publications: 4 Date d'inscription: 14/08/17 Publications récentes
Just wanting to add a couple libraries that would be available to all portlets instead of adding them to each portlet. Is there a recommended way of doing this?

I know we can update javascript.barebone.files and javascript.everything.files, but how to do this outside of updating the properties in portal-ext.properties is hard to come by. Do we need to get all the other files referenced by portal.properties? Where do we get them? Just looking for direction.

Thanks,


Brad
thumbnail
David H Nebinger, modifié il y a 6 années.

RE: Is there a recommended way to update the javascript.barebone.files

Liferay Legend Publications: 14914 Date d'inscription: 02/09/06 Publications récentes
Brad Worsfold:
Just wanting to add a couple libraries that would be available to all portlets instead of adding them to each portlet. Is there a recommended way of doing this?


Put into your theme. Isolates the additions to pages using the custom theme so, in case there is a problem, you can switch themes and get back to a working UI.