How to Override streams views globally

srinivas214 - 3 weeks ago

Hi, I have published the streams and tried to edit table.twig in views folder but it is not working. Though the views from streams are published but still the streams views from the vendor folder are loading. Please help me with information to solve this.

Thanks in Advance!

piterden - 3 weeks ago

$overrides array prop in your addon SP

srinivas214 - 3 weeks ago

Thanks @piterden but I wants that to add in every addon/module. I should be able to add from a single place so that it overrides in every addon/module.

ryanthompson - 3 weeks ago

@srinivas214 You can publish the addons with addon:publish your.addon.here and same with streams using streams:publish I think it it. Then just edit the resulting views in the resources/REF/... folder.

piterden - 3 weeks ago

@ryanthompson and how to override JS files?

ryanthompson - 2 weeks ago

@piterden override the views including them and replace the asset_add instances with your own resources.

piterden - 2 weeks ago

Why can't asset work similar like view loader, and search for files inside chain of folders?