Registering Resources with GenericSetup in Plone 5

The CSS page in the documents http://docs.plone.org/adapt-and-extend/theming/templates_css/css.html#plone-css still suggests using cssregistry.xml, although the resources are stored in the registry. Is this the preferred method, unlike registry.xml? As far as I can tell, this adds them to a bunch of outdated metrics. Given its name, it seems like this is what I should step aside from.

Assuming I don't want to use the obsolete plone package, is it bad to add my css / js to the plone package or do I need to create a new package for my namespaces?

+5
source share

Source: https://habr.com/ru/post/1239591/


All Articles