Backend Styles and ScriptsΒΆ

When you develop a custom Platformus CMS extension you might need to add your own CSS styles and JavaScript scripts on the backend (admin panel) pages. Same as for the menu, it can be done by implementing the IMetadata interface or inheriting the MetadataBase class.

Please, take a look at the implementation from the Platformus.Core extension for a sample.

This file can be placed anywhere in the project, it will be resolved automatically by the default implementation of the IStyleSheetsProvider interface and the default implementation of the IScriptsProvider interface.

It is preferable to use links to minified CSS and JavaScript files to save traffic and speed up page loading. Also, you might need to embed these files into your extension to make it atomic.