Quantcast
Viewing all articles
Browse latest Browse all 29

Adding interceptors to your ContentBox themes

If you have played around withContentBoxthen you would know that this is a great CMS Application, it is entirely flexible and scalable. However the one thing that it is lacking at the moment is to be able to create a theme that is technically a self contained theme, I will call them themes as this is what they are, andContentBoxcalls them layouts. So when I mention themes I am going to call them themes, so as not to confuse them with the actual page layouts used by the theme.

By self contained, I am mean that the theme has its own widgets, interceptors and services etc. Which is not a big deal in itself, however I prefer to have them all contained in one location that way if I remove the theme, or deactivate the theme then all the widgets and interceptors are also then deactivated along with the theme.

Today I am going to show how you can do this, with the addition of one module.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 29

Trending Articles