Custom Module Not Showing Under Widgets

468 views Asked by At

I am creating a custom module for "latest news" type of functionality. I have been following the docs on the Orchard website (http://docs.orchardproject.net/Documentation/Getting-Started-with-Modules-Part-1) and despite following this tutorial I cannot see the widget show up when I click on the "widgets" from the admin in order to assign it to a layer.

I am able to enable/disable the module and it appears to be working correctly on this page, but it doesn't show up on the Widgets section of the admin.

I have spent hours trying to find any answers, but haven't been able to so I'm reaching out here in hopes someone can offer some advice. How do I get my custom module to show up under Widgets? All I have done at this point is followed along with the tutorial they have on their website.

1

There are 1 answers

0
Szymon Seliga On

You need to create a ContentType that - as @devqon stated - has the CommonPart and WidgetPart attached, and it's stereotype is set to "Widget". Have look at Orchard Doc's tutorial on writing a widget.