Questions tagged [orchard-modules]

Modules in the Orchard Content Management System are used to extend the system.

Modules in the Orchard Content Management System are used to extend the system.

155 questions
4
votes
0 answers

Orchard 1.9.2 Adding theme settings to theme section in Admin Menu

So the old way to add a Admin menu was to create a controller and then an adminmenu file and number the menu item like below. public void GetNavigation(NavigationBuilder builder) { var themeName = _siteThemeService.GetSiteTheme(); …
pool pro
  • 2,084
  • 12
  • 21
3
votes
1 answer

Get full tablename for custom sql query in Orchard CMS

In Orchard CMS, what is the best way to get the full table name? I want to perform a custom SQL query (so not using IRepository), but would need the full table name for this. I know I can use SchemaBuilder.TableDbName but to create the…
Peter
  • 13,733
  • 11
  • 75
  • 122
3
votes
1 answer

Importing html in Orchard CMS

I am using Orchard CMS 1.8 and have created some polymer components. If I add the polymer components inside the Themes folder and access it using the syntax RegisterLink(new LinkEntry { Rel = "import", Href =…
Sumesh Kuttan
  • 1,333
  • 1
  • 17
  • 40
3
votes
1 answer

Orchard Custom Workflow Activity

I have built a custom module in Orchard that creates a new part, type and a custom activity but I'm struggling with the last part of what I need to do which is to create a copy of all the content items associated with a specific parent item. For…
Scott Salyer
  • 2,165
  • 7
  • 45
  • 82
2
votes
1 answer

Orchard CMS - Display a list of items in view from model

I am an Orchard CMS beginner and I do not understand how to get and display a list of items in a view. I've read the article Writing a ContentPart but the examples show how to use 2 properties instead of a list: Driver return…
gen
  • 21
  • 2
2
votes
1 answer

Package Orchard CMS module without source code

when creating a new module with package create it creates it using source code *.cs files, so as a result nuget package does not contain binaries, the source only Is it any parameter or option to precompile module, so instead of source files, it…
Yaplex
  • 2,272
  • 1
  • 20
  • 38
2
votes
0 answers

How can i use the database column type geography in Orchard CMS

In Orchard CMS does anyone know how i can create a geography database column type I need this in order to do a deferred query on distance
2
votes
2 answers

Combine layer rule with user role in orchard cms

Recently I started working on Orchard CMS. I am able to create a layer with "Layer Rule" like "not url '~/some-page-url'". What my question is "is it possible to combine Layer Rule with User Role. I tried like this 'authenticated(admin)' but it is…
2
votes
1 answer

Sql to Rename Orchard Custom Content Type

I'm planning to rename one of my custom content types, so that I can free up its name for a new Orchard module I am working on. I'm hoping to use Schema.ExecuteSql in a migration class as suggested by this SO answer, but I want to make sure I know…
bingles
  • 11,582
  • 10
  • 82
  • 93
2
votes
1 answer

Orchard CMS front-end all possible content filtering by user permissions

Good day! In my Orchard, I have several content types all with my custom part attached. This part defines to what users this content is available. For each logged user there is external service, which defines what content user can or cannot access.…
melvas
  • 2,346
  • 25
  • 29
2
votes
2 answers

Orchard 1.8 Package Installation Failure

I am trying to install a package (oForms) with a new Orchard 1.8 installation, but receiving the following error: "Package installation failed: There was an error installing the requested package. This can happen if the server does not have write…
Scott Salyer
  • 2,165
  • 7
  • 45
  • 82
2
votes
2 answers

Orchard 1.8 Can't Enable Custom Module

I am in the process of upgrading from Orchard 1.7 to 1.8. Everything seems fine locally, but when I deploy my site, 1 of my custom modules is disabled. When I click the "Enable" link in the modules section of the dashboard, the page refreshes, but…
bingles
  • 11,582
  • 10
  • 82
  • 93
2
votes
0 answers

Orchard Migration Add_Index to an existing table to make it a unique constraint

Looking at Q A migration to add unique constraint to a combination of columns In my migration file I already have a 'MobileDeviceRecord' table with an 'ActivationCode' which is created in code from a GUID class when a new record is created. I want…
John
  • 3,965
  • 21
  • 77
  • 163
1
vote
0 answers

Orchard Core CMS Theme Mega Menu (Advanced Menu Theming)

For the purposed of learning I am trying to take the general theme of my companies website and convert it into an Orchard Core Theme (version 1.2.2 (can't go to 1.3 yet because of VS version but can if it solves my issues.)). The first issue I have…
nejohannsen
  • 189
  • 9
1
vote
1 answer

Unable to resolve service for type OrchardCore.ContentManagement.Metadata.IContentDefinitionManager

I have created a class 'ProductPart' where these entities will be created in Sql DB. public class ProductPart : ContentPart { public decimal UnitPrice { get; set; } public string Sku { get; set; } } To represent those…
Dinesh J
  • 11
  • 1
1
2 3
10 11