Dashboard & Admin asset inclusion and overrides.

Permalink
Hey guys, Ive been building with C5 for a while. But I seem to have hit a snag here with a help package I'm trying to build. Im also newer to C5.7 as we have had to support the 5.6 ecosystem until the 2nd half of last year.

Im building specific tutorials/guided tours to be visible in the dashboard area while our clients are utilizing the site. My first question deals with overriding elements.

So I can easily enough override the elements/help/dialog/introduction.php in the application folder. Works great. However I was hoping to include it into a drop-in package.

Duplicating the filesystem structure in my package folder however, is NOT overriding the file. Im not exactly sure what to do in this regard. Can it be overridden? Is there a flag in the package controller I need to toggle?

The next thing I am attempting to do is implement a custom js file in the dashboard toolbar. Previously I had no issue as my packages were either theme/block/single page and could extend via the view and register the asset that way.

But this controller is simply extending "package" as I need it present while the user is logged into the dashboard. Should I be extending the concrete/ui itself? What would I extend specifically to achieve this?

Or do I need to recreate the theme/dashboard folderset in my package and override and include my changes that way?

Thanks for any help in advanced, Im not sure why this is tripping me up so badly but I really appreciate it!

mikedurbin