Questions tagged [orchardcms-1.8]

Orchard is a free, open source, community-focused project aimed at delivering applications and reusable components on the ASP.NET MVC platform. Version 1.8 was released in Mar 2014. This tag is intended for questions that specifically regard Version 1.8.x

Orchard is a free, open source, community-focused project aimed at delivering applications and reusable components on the ASP.NET MVC platform. Version 1.8 was released in Mar 2014. This tag is intended for questions that specifically regard Version 1.8.x

See https://github.com/OrchardCMS/Orchard

240 questions
18
votes
6 answers

IIS 8.5 is not serving JS, CSS, and Image files (static content)

The problem We're running IIS on Windows 8.1 with Update. We're at the Orchard CMS first time setup screen, and IIS is giving 401s for all static content. We have read the following to no avail: IIS 7.5 no images css js showing IIS 7.5 no images…
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
7
votes
2 answers

MSBuild not copying files with PublishProfile

I have a Visual Studio 2013 solution with the full Orchard source code. When I use "Publish..." on the "Orchard.Web" project in Visual Studio, it correctly publishes the site to the File System destination I've configured into the .PubXml file that…
Glen Little
  • 6,951
  • 4
  • 46
  • 68
5
votes
2 answers

Retrieve admin password on Orchard 1.8

I forgot my Orchard admin password, so I googled around on how to (manually) reset it. I found this article on how to achieve this. So I went to my server, opened the website in WebMatrix, opened the database, set a new password and the…
devqon
  • 13,818
  • 2
  • 30
  • 45
4
votes
1 answer

HTTP 404: The /Media directory is not serving images

I cloned a client's Orchard CMS. The repository that I cloned did not contain the Media folder (this is good). So, a next step was to restore the Media/Default directory from a .zip backup. Now that I've restored that, browsing the to site gives a…
4
votes
1 answer

Create a secure Orchard CMS page that authenticated user can access but anonyomous users cannot

We just spent two hours accomplishing the above goal. The hard part was allowing anonymous users, on the front end, to view the Menu Widget but not to see nor to access the new Secure Page Content Type. Our solution does work. Anonymous users can…
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
4
votes
1 answer

How do we retrieve the first item of a WhereSelectListIterator?

How do we retrieve the first item of a WhereSelectListIterator? Usually, I use a foreach loop to iterate. Is there a way to call the equivalent of myResult[0] or myResult.FirstOrDefault(). Both throw an error. myResult.ToList() doesn't work either.…
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
3
votes
1 answer

Orchard CMS - Preferred method for feature switching when not using IDependency

I want to feature switch a service implementation. This is easy to do by making Interfaces inherit IDependency and simply marking implementation with: [OrchardFeature("MyFeature")] [OrchardSuppressDependency("MyService1")] There are a couple of…
AntonJ
  • 499
  • 5
  • 15
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
3
votes
1 answer

Why is WorkContext.CurrentUser always null?

I'm working on an Orhcard module and I need to get the current user's ID. I've tried everything I could find on google, but nothing has worked. CurrentUser is just always null. Here are the latest things I've tried public…
Dustin Davis
  • 14,482
  • 13
  • 63
  • 119
3
votes
2 answers

Error: ValueFactory attempted to access the Value property of this instance

Error Source File: c:\Projects\WaterfrontSeattle.org\src\Orchard\Logging\OrchardLog4netLogger.cs Line: 63 Source Error: Line 61: // Load the log4net thread with additional properties if they are available Line 62: protected internal void…
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
3
votes
3 answers

How do I delete content item with all parts in Orchard?

I'm new to Orchard CMS and C# development. I'm trying to create my own News Module. The module injects a few MenuItems into the AdminMenu and provides functionality to manage site news. I've created a NewsItem document type, which consists of…
teran
  • 3,214
  • 1
  • 21
  • 30
3
votes
1 answer

Can Orchard 1.8.x be installed on a build server that does not have Visual Studio Installed?

I also asked this question on the Orchard forum but no joy there yet. So here it is again... https://orchard.codeplex.com/discussions/569444 Please read for a few more details. IF the .NET 4/4.5 SDK came with a developer command prompt (like…
Seth Spearman
  • 6,710
  • 16
  • 60
  • 105
3
votes
0 answers

Orchard 1.8 Slow SQL Performance

I have deployed an Orchard 1.8 in my production server. The production server is a dedicated server with extremely good specs. Yet the loading time of EACH page is around 3 to 4 seconds which is very slow in our standard. We have over ONE MILLION…
Twisted Whisper
  • 1,166
  • 2
  • 15
  • 27
3
votes
1 answer

The Placement.info in my module is not hiding the DateTime field

The documentation says (emphasis added): There are also special extensions for certain fields so that placement can be targeted at specific field instances. Does certain fields include the DateTime, Link, and Input fields? I am trying to hide a…
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
1
2 3
15 16