New : link resource with any element
With tpl system, external modules can declare resource with hook getElementResources