That is what I’ve been looking for. Thanks @darius
I’ve updated the very concise ( ) documentation as you suggested. (If any English native dev would have time to quickly review it to make sure it is correctly written and there is no typos or anything)
Now, if I would like to add this resource to only the Patient Dashboard page, how could I do that ?
Would option (1) work ?
Yeah, ok.
I just wanted to know if that is something that could be theoretically done that way. Or just not valid at all.
I don’t want a tutorial here, but more to understand the framework, how to do this and that, what are the good practices…
And share the information with people on the Talk who may ask themselves the same question.
For this specific page (i.e. patientDashboard) there is an extension point patientDashboard.includeFragments which lets you include an arbitrary fragment, and this fragment could just have an includeCss line.
See controller and view of the patientDashboard page:
If you want a more general solution to this, I would happily accept a pull request that adds an optional regex property that filters which pages the GlobalResourceIncluder is actually included on.