Module builder issues

Posted by Community Admin on 03-Aug-2018 21:52

Module builder issues

All Replies

Posted by Community Admin on 23-Jan-2012 00:00

All,

We are having some issues with the module builder. We are running into two issues.

1. When I use the new 4.4 module builder field to create a module and then attempt to drag that module on a page and attempt to filter it always wants to filter by categories, regardless if the classification field I entered was of type department or category. It should be noted that when I create an instance of the module it behaves as it should, letting me assign classification by dept or cat. Its when I actual drag the module onto a page and try to filter that the problem begins. It always wanting to filter by categories


but when adding an instance of the module will let you assign it a dept classification




It's worth noting that we are using the e-comm module and currently classifying our products using a hierchary of depts as shown in the screen shot above, if we can't filter by depts is there any workaround that would enable us to "auto-copy" or link the hierarchy of departments to the categories classification so we can filter? or would this have to be done manually?

- Anthony

Posted by Community Admin on 26-Jan-2012 00:00

Hello Anthony,

We held a webinar http://www.sitefinity.com/devnet/webinars/building-real-world-modules-with-sitefinity-s-new-module-builder.aspx 
where you can see the way Gabe made filtering work. It has 2 steps. Explanation of how to set the widget taxonomyId to your custom clasification Id starts on 30th minute and what you actually need to do (change FieldName) starts around the 39th minute. Yet here is a small description of the two steps you need to do to get the custom filter working.

1. Set the TaxonomyId. Basically you need to remap the widget to your custom classification by setting the TaxonomyId of the widget to the Id of you classification. Go to Content -> All classifications -> Start Chrome Developers tools for example -> Refresh the page and get the Id of your classification (See the attached screenshot). 

2. In order to get the links working though you need to do one more think. Change the name of the FieldName to the name of your field. In my case "partnerstatus". You can see it from the "Partners item fields" menu in the "Partners settings" of your module and you are ready.

Kind regards,
Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed