orchardcms

TFS Issue: No source control options (get latest, check-out, check-in) for Solution

自闭症网瘾萝莉.ら 提交于 2019-12-07 06:02:48
问题 Background I created a new project with Microsoft's Team Foundation Service (tfs.visualstudio.com). I added code (Orchard CMS) which includes the solution file and performed initial check-in. To make sure nothing was missed, I removed mappings and deleted my local. Then got latest and reestablished mappings. I opened the solution, built it and set up a local site. Everything worked fine. Issue Whenever I open/load the solution, I noticed that I don't have the usual TFS options like get latest

Orchard: Custom Registration fields

时间秒杀一切 提交于 2019-12-07 05:31:58
问题 For my Orchard project, I need some additional information from the user at registration time. (Say, First Name, Last Name, Pants Color). This information must be entered while registering and can not be deferred until later (as per client's orders). I tried using the Profile and Extended Registration plugins to ask for those, but as far as I see, this only gives me optional fields to display in the registration form. Is there a way to present fields that are mandatory? I also had a quick

How to use MySQL database with Orchard CMS 1.3.10?

孤人 提交于 2019-12-07 03:40:03
问题 I am trying to change the Orchard.Setup module so i can install Orchard CMS 1.3.10 with MySQL as datase. I come so long that i getting MySQL in the GUI for setup and when i press setup button i getting this error message from orchard: The value 'MySql' is not valid for DatabaseOptions. But i can not find how i adding MySql as DatabaseOptions, do anyone else get it to work with MySQL? The old module for MySQL is not compatible wtih the latest version of Orchard CMS thats why it ring to make it

How to make Autofac perform property injection in Orchard CMS

女生的网名这么多〃 提交于 2019-12-07 02:55:01
问题 Is it possible to do property injection with the OrchardCMS? I know that Orchard uses Autofac and that Autofac does do property injection, but I need to know how to do property injection for the IOrchardServices interface. Our team is looking at Orchard but our code base is all in ASP.NET 4.0 WebForms and so we will continue to serve aspx pages and slowly migrate those said pages into Orchard as time permits. With that, we'll need a way to get access to the OrchardServices object. I'm

Scaling Orchard with Azure Web Sites

时光总嘲笑我的痴心妄想 提交于 2019-12-06 14:18:21
问题 I am currently experimenting with installing Orchard on Azure using the recently released "Web Sites" functionality. I have successfully installed and setup Orchard using the template from the gallery and so far everything seems to be going well. My question is: If I scale up the site to use 3 instances is there anything special I need to do to ensure that the instances all work from the same cache? So a new page appears on all instances at once. I have a little experience with Umbraco and I

Orchard 1.7 - contents of Media folders not listed in media library

邮差的信 提交于 2019-12-06 14:02:19
问题 I've got a problem listing the images from the Media directory for my Orchard site. When trying to add an image using the new media picker I see the list of folders, but when I select one the contents are not listed (see image below). If I 'import' an image it does appear, but I surely don't need to import every file I'm ever going to use each time, do I? I must be the only person having this problem because I can't find any reference to it any where else on the web, so thanks in advance. PS.

Eager loading a field

佐手、 提交于 2019-12-06 13:00:56
问题 Is it possible to eager load a field when querying content using the ContentManager? I'm using the ContentManager to retrieve all content items of a specific content type. The content type has a MediaLibraryPickerField on it which is creating a select n+1 issue when I iterate over the results of the query. I'd like to force this data to be loaded upfront (join on initial query). This seems straightforward for a ContentPart but I can't get it to work for a ContentField. Is this possible or is

Trying to hide Content Parts on Content Type

痞子三分冷 提交于 2019-12-06 12:43:24
问题 I am building Content Types and adding Content Parts specific to a Client and Attorney. All of these parts have fields and/or content pickers, etc. I want to restrict the Client Role to see only Client Content Parts, while I just allow the Attorney Role to see any Content Parts, including it's own Attorney Content Part for a particular Content Type. Again, these are all on the same Content Type, so Content Permissions will not work (except on the Content Type in general). I want to hide the

orchard cms: how to add media picker field to a custom part

眉间皱痕 提交于 2019-12-06 10:31:31
问题 My question is simmalar to questions/10369967/orchard-cms-how-to-add-media-picker-field-to-anew-module I've created a new content part, that has a select list, a text box and ... I want to include a media picker filed. I have added this to the content part with Bertrand Le Roy's suggestion of: ContentDefinitionManager.AlterPartDefinition("Product", builder => builder.WithField("ProductImage", fieldBuilder => fieldBuilder .OfType("MediaPickerField") .WithDisplayName("Product Image"))); However

Use RavenDB as the database for an Orchard CMS module

纵饮孤独 提交于 2019-12-06 09:05:42
I'm just getting underway with Orchard CMS. How difficult would it be to create an Orchard module that uses RavenDB as its database? Is a hard dependency on SQL and NHibernate baked deeply into Orchard? All of Orchard's core features are based on NHibernate so it would be difficult to move the entire Orchard database to another DBMS not supported by NHibernate. However, Orchard is very extensible and it is quite easy to access all kinds of custom data sources from your own modules. For example, I am currently working in a project where we store our data in a graph database (neo4j) and access