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.
Related
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.
Having a problem deploying a list instance via a feature, which should really be a noddy task, I know. I have come across many a post with the same issue, but there is no resolution.
I created the list in the UI with content and views.
Exported the site template as WSP.
Imported into Visual Studio the list instance, pages module and property bags.
Copied into my new solution.
Deploy list instance as a site-scoped feature.
List deploys fine with content and views. However, I receive the following error when trying to add a new item: “Unable to find the default new form for list”. The same applies for editing items.
Strangely, deploying via a web scoped feature works just fine.
I am thinking that this is probably something quite simple but cannot see it nor find a satisfactory resolution.
Many thanks in advance.
I discovered almost the same thing this afternoon, and solved it. For some reason the schema.xml has an empty Forms tag. You need to replace it with the stock forms tag as described by Microsoft - I wrote it up here;
http://notes.jonbeckett.com/2012/04/20/missing-forms-schema-with-sharepoint-2010-visual-studio/
The Microsoft page I discovered it on is here;
http://msdn.microsoft.com/en-us/library/ms459356.aspx
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.
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
I'm trying to create folders in a set of custom lists I've created. However, when I try to do this, the New Folder button in the Ribbon is disabled. I read up on the matter; and this lead me to look to enable folder creation in List Settings -> Advance Settings. However, there doesn't seem to be an option to enable folder creation on the page. It shouldn't be a permission related issue; as I created the lists; and I'm also an admin on the farm.
I could use a document library; but we will not be uploading documents to the list; so this is more then I need.
What are my options, or what am I doing wrong?
Thanks,
Frank
Go the the List Settings, go to Advanced List Settings and there should be an option there that reads: "Make "New Folder" command available?" Set that option to yes and you can create folders.
Good luck,
Patrick
I figured this out. Turned out I was using a prerelease version of SP 2010; this was a bug.
Have you tried using a Wiki Page Library instead? It's possible to add folders inside these.