AndyButland / UmbracoPersonalisationGroups

Package for personalisation of content with Umbraco.
MIT License
38 stars 18 forks source link

Add an optional setting to disable the filtering of content #12

Closed tcmorris closed 6 years ago

tcmorris commented 6 years ago

Hey Andy,

As discussed, this provides a way to disable the filtering of content if you have the package installed but want to turn it off for whatever reason.

It simply returns the defaults for all the key methods that would do the matching. i.e. all content should be shown.

It's worth mentioning that I've not amended anything that happens in terms of the editor experience so you'll see the same options in Umbraco. Probably would be a good idea to switch out the picker to show a warning to the editor that the package is currently disabled. Not sure how you want to proceed on that one.

AndyButland commented 6 years ago

Thanks Tom, will merge in and create a new release.