Comments (2)
Thanks for your feedback. I've just had a look through this bug report and I'll be submitting a pull request to resolve your issues in a minute. I just thought I would address them below as well.
Side note: You have used some angle brackets in your issue which meant I couldn't see parts of this issue. I eventually pulled it up using the API which gave me raw access so I could see what you had typed but in future if you want to show <tags>
then you can use the backtick or four indented spaces :)
Wrong Namespaces (using Contrib
)
Yes, this is a typo in the article, the source code was correct so I have updated the tutorial to match.
Wrong Namespaces (ContentFieldDriver<Fields.DateTimeField>
)
I was confused by this for a while and even opened a StackOverflow question to get help on it. The project compiled and worked but I didn't know why. Then I went back to basics and got out my copy of C# 4.0 in a nutshell
. This is what's known as a partially qualified namespace and it is valid. When you say namespace CustomFields.DateTimeField.Drivers
you are actually nesting three namespaces within each other. The code says <Fields.DateTimeField>
because when it doesn't find it the Drivers
name space it goes up to CustomFields.DateTimeField
and then finds CustomFields.DateTimeField.Fields
.timepickr();
This is actually worse than the issue you reported. The script isn't included in the project and there isn't any ResourceManifests.cs
file setting this up. I'm going to open a separate issue here as its going to need a lot of work and changes to the download file. It looks like the full module on codeplex that this tutorial is based off also has this bug.
Editing the csproj
Yes this is confusing and personally I don't know why this is even included as it doesn't seem a likely use-case to be editing an MVC website outside of Visual Studio. Perhaps the situation was different back when this was written but VS Community edition was released yesterday so I think we will be revisiting all of this soon.
I've reworded it slightly to make it less confusing.
Module doesn't work
I agree, as I said above I will revisit this in more detail and improve it.
from orcharddoc.
Glad I could be of service
And I'll see to remembering your note about brackets =)
from orcharddoc.
Related Issues (20)
- "codegen module" cannot add module to Orchard.sln HOT 3
- Broken link
- References to the gallery feed URL need updating to the new URL
- Tags documentation is archived
- Document contribution guidelines aren't consistent HOT 1
- Contributing to the Gallery - needs updating to new gallery
- Adding-and-managing-media-content.markdown is out of date
- Too many redirects error navigating to themes-includes page HOT 2
- Installation instructions: webmatrix EOL
- reference and metadata not found on orchard div appplication
- build precompiled orchard cms
- Orchard.Web project dependencies for modules
- Routing problem HOT 1
- https://orchardcore.readthedocs.io/en/dev/docs/guides/decoupled-cms/decoupled/ HOT 1
- Need for a dev help on migrating from O1 with NHibernate to OCore with YesSQL
- Localization.Culture filter does not work HOT 1
- Running TheBlog Theme Recipe Removes Built-In Form Feature HOT 1
- More focus needed on documentation HOT 1
- ContentPartRecord
- First time mkdocs usage mkdocs.yml does not exist HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orcharddoc.