IDeliverable / IDeliverable.Widgets

A module for the Orchard CMS that provides a number of useful functional enhancements to the widgets system.
6 stars 9 forks source link

Add a way to configure a set of resources to be loaded #2

Open sfmskywalker opened 10 years ago

sfmskywalker commented 10 years ago

Some content uses the Orchard resource manager to load resources. When that content is loaded asynchronously via AJAX by this module, those resources never get loaded. Therefore both the AJAX Widget and the AJAXify part should allow the user to specify a set of styles and scripts that the AJAX loaded content requires, and make sure these are loaded as part of the page.

It would be good if the user could specify:

Ideally these resources would be loaded relative to where the actual AJAX loaded widget shape template resides, not relative to the AjaxWidgetPart shape template.