sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Use CRM name and versions for loading Bootstrap #222

Open Timo-Breumelhof opened 1 year ago

Timo-Breumelhof commented 1 year ago

Adding a name and version when loading a Library using the Client Resource Manager as shown here:

https://github.com/DNNCommunity/Dnn.CommunityForums/blob/c29349bcfbdcf2acac36bc1e180142df588a9bce/Dnn.CommunityForums/Classic.ascx#L4

allows (for instance) a Theme to load a newer version of that library. We use it for FontAwesome in the forums, but for Bootstrap(3/4) it could be useful too. It's then up to the Theme developer to test if all still works correctly :-)