In a previous post I talked about how you can add interceptors to your ContentBox themes, today I am going to show how easy it is to do the same with widgets, not only to your themes but also to your modules as well.
This example will also use the techniques that I used to also be able to create your own HTML Helper, so that we can then call the widgets inside our templates if needed. The only downside at the moment is that this technique will mean that the widgets can't be added to the content, via the Entry Editor. At the moment this is a small downside, but one I am sure is a small inconvenience, as one could easily adopt a plugin for the editor to add this to the Entry Editor or Page editor.
With that out of the way, lets see how easy it is.