Orchard - custom module not showing up - orchardcms

I created a custom module. It showed up on dashboard "Modules", and I was able to enable it. But I don't see the new content type under "New" or under "Content". Any idea what I might be doing wrong? Or how can I debug this issue?
Thanks.

Related

Orchard Core No Page Content Type

I'm looking to use Orchard for a CMS project, I've setup my project via
dotnet new occms --framework netcoreapp3.1
and went through all the setup for my site.
According to this I would expect to be able to add a new page but I don't see any option that looks like that.
If I go into my content types, I don't see any that I could be able to create. Have I missed something in the setup here?
Thanks
Figured this out, the reason I didn't have a 'page' content type is because I didn't select a recipe when creating the site -
I recreated my site with the Blog recipe and have the Page content type now. For people coming in the future, the page content type is built like this...

Issue related to layout of custom webpart

According to requirement of application, I have developed a custom web part in Kentico 9. This web part is using with same functionality at various places but we have to use with different layout structure.
As per my understanding, we can create custom layouts for a single web part from "Layout Tab" in web part configuration. As I used same things with various Kentio built in web part like Logon form, Logon-Mini form, etc.
But while trying to create new layout for my custom web part, I am getting web part loading error and when I checked into event log it is showing following error:
The file
'/CMSVirtualFiles/WebPartLayouts/=vg=87a868ce-926c-4cb3-a441-b4f1d4310afc/TDNForgottenPassword/ForgottenPassword.ascx.cs'
does not exist.
Here, internally system looking for ".CS" file under "CMSVirtualFiles" folder, which has actually under the "CMSWebParts" directory in which I have created my user control.
Is there any specific configuration required in custom web part to implement multiple layout of it? Please help me and guide me, what am I missing or doing wrong?
Check your webpart code file property in the ascx file. You need to specifically declare the full relative path to the .cs file and not just the filename. For example:
Correct
CodeFile="~/CMSWebParts/Community/GroupRegistration.ascx.cs"
Incorrect
CodeFile="GroupRegistration.ascx.cs"
Please make sure you don't have the store virtual files in the file system setting enabled.

Custom Module Not Showing Under Widgets

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.
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.

Creating lists with Orchard

I'm attempting to follow this tutorial for creating lists of content:
http://docs.orchardproject.net/Documentation/Creating-lists
I've successfully created my custom content type for the list item, but when I expand the "New" tab in the Admin Dashboard, I don't have an option for "List". I tried looking in the Module gallery, but was unable to find anything.
Any ideas?
TIA, -Jeremy
I think I figured it out. The Orchard.Lists module was not installed.

Custom newsbsite.aspx and custom webtmplates (sharePoint)

I have created new aspx file within a module which I am going to use it as instead of newsbsite.aspx for create workspaces. I have deployed it and I can browse to it via my custom action link (site settings).
I have my own webtemplates.
What I want to do is using mynewsbsite.aspx to show only my webtemplates (not others) and implement permision inheritance and all other staff you can find in the original newsbsite.aspx. but I cann't.
is there anybody who can help me with this problem? thank you so much.
Use SPWeb.GetAvailableWebTemplates Method (UInt32) to get all the templates and filter out the out of the box ones.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebtemplate(v=office.12).aspx

Resources