Category Widget with Module Builder Custom Content Types

Posted by Community Admin on 03-Aug-2018 00:56

Category Widget with Module Builder Custom Content Types

All Replies

Posted by Community Admin on 11-Apr-2012 00:00

Hi, I am trying to limit the content type of the category widget following the solution found here http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/categories-widget-limiting-to-existing-categories.aspx 

I was able to get it working with default sitefinity content (images / blog etc) but cannot get my custom content type created by module builder to work with it. Entering Telerik.Sitefinity.DynamicTypes.Model.Tests.Test in the Category ContentType field works in edit/preview mode however going to the page I get error saying The type or namespace name 'Tests' does not exist in the namespace 'Telerik.Sitefinity.DynamicTypes.Model' (are you missing an assembly reference?)

Is there a work around for this? 

Posted by Community Admin on 18-Apr-2012 00:00

Any help is appreciated

Posted by Community Admin on 18-Apr-2012 00:00

hi jack, this is a known issue with the Category controls (Tags, Categories), I believe it will be fixed in the next 5.1 release.

however, in the meantime, I created a quick temporary workaround: http://www.selarom.net/blog/2012/04/13/workaround-using-the-sitefinity-taxonomycontrol-with-custom-modules

basically you create a custom widget class that inherits from taxonomy, and add a property to correctly map the dynamic types. Add this to the toolbox and use it anywhere you want to show taxonomy for custom module.

Hope this is helpful!

This thread is closed