485c6cb6a1133d1855fea67a0e697b44ea6a6285
* Add new property HostContentType to make Properties aware of their content type * Adjust Dummy PropertyType to include the Content Type * Pass in Content Type from ValueConverter to Deserialization helper through new optional parameter * Populate the property's HostContentType via RetrieveAdditionalProperties * Make sure HostContentType isn't persisted Notes: In some cases, the Umbraco Core looks for pt.ContentType.Alias, which didn't exist previously in our Dummy PropertyType. This would also potentially cause an error if any PVC's do the same. To fix we now keep track of the Content Type that the Archetype exists on (determined in the ArchetypeValueConverter), and pass this along to our Dummy PropertyType (and thus to PVCs) Note we made the hostContentType an optional parameter as there's some cases where we won't know the content type (ie ConvertDbToEditor). This (shouldn't?) be an issue as these cases should never have a reason to call GetValue.
Archetype
Installation
Install the selected release through the Umbraco package installer or via NuGet.
Official Docs
http://imulus.github.io/Archetype
Follow us on Twitter https://twitter.com/ArchetypeKit
Contribute
Want to contribute to Archetype? You'll want to use Grunt (our task runner) to help you integrate with a local copy of Umbraco.
Install Dependencies
Requires Node.js to be installed and in your system path
npm install -g grunt-cli && npm install -g grunt
npm install
Build
grunt
Builds the project to /dist/. These files can be dropped into an Umbraco 7 site, or you can build directly to a site using:
grunt --target="D:\inetpub\mysite"
You can also watch for changes using:
grunt watch
grunt watch --target="D:\inetpub\mysite"
Add --touch to either command to automatically touch the web.config on a deploy
Languages
JavaScript
51.9%
C#
31.7%
HTML
11.5%
Less
4.9%
