Adding the Minimal recipe: A recipe providing the Orchard framework with limited end-user functionality that can be used during development.

--HG--
branch : recipe
This commit is contained in:
Suha Can
2011-02-21 11:27:55 -08:00
parent 9922d5e09a
commit acde4bd519
3 changed files with 8 additions and 35 deletions

View File

@@ -1,7 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Linq.Expressions;
using Orchard.Data; using Orchard.Data;
using Orchard.Environment.Extensions; using Orchard.Environment.Extensions;
using Orchard.Localization; using Orchard.Localization;

View File

@@ -1,6 +1,4 @@
using System; using System;
using System.Collections;
using System.Collections.Generic;
using Orchard.Localization; using Orchard.Localization;
using Orchard.Logging; using Orchard.Logging;
using Orchard.Packaging.Models; using Orchard.Packaging.Models;

View File

@@ -1,54 +1,30 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<Orchard> <Orchard>
<Recipe> <Recipe>
<Name>minimal</Name> <Name>Minimal</Name>
<Description>A minimal recipe for Orchard devs</Description> <Description>A recipe providing the Orchard framework with limited end-user functionality that can be used during development.</Description>
<Author>The Orchard Team</Author> <Author>The Orchard Team</Author>
<WebSite>http://orchardproject.net</WebSite> <WebSite>http://orchardproject.net</WebSite>
<Tags>developer</Tags> <Tags>developer</Tags>
<Version>1.0</Version> <Version>1.0</Version>
</Recipe> </Recipe>
<Feature enable="Orchard.PublishLater,Orchard.Blogs,Orchard.Comments,Orchard.ContentTypes, <Feature disable="Feeds,Scheduling,Reports,Orchard.Widgets,Containers"
Orchard.jQuery,Orchard.Lists,Orchard.Media, enable="Orchard.jQuery,TheThemeMachine" />
Orchard.Tags,Orchard.Scripting,Orchard.Scripting.Lightweight,
TinyMce,PackagingServices,Orchard.Packaging,Gallery,TheThemeMachine,Orchard.Experimental" />
<Metadata> <Metadata>
<Types> <Types>
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Included="true"> <Page ContentTypeSettings.Draftable="True" />
<TagsPart />
<LocalizationPart />
</Page>
<BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Included="true">
<CommentsPart />
<TagsPart />
<LocalizationPart />
</BlogPost>
</Types> </Types>
<Parts> <Parts>
<BodyPart BodyPartSettings.FlavorDefault="html" /> <BodyPart BodyPartSettings.FlavorDefault="html" />
<!-- Dynamic part -->
<Product ContentTypeSettings.Draftable="True" />
</Parts> </Parts>
</Metadata> </Metadata>
<Settings> <Settings />
<SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
<CommentSettingsPart ModerateComments="true" />
</Settings>
<Command> <Command>
feature enable Orchard.Experimental.TestingLists page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /Text:"Welcome To Orchard!"
layer create /Name:"Default" /LayerRule:"true"
layer create /Name:"Authenticated" /LayerRule:"authenticated"
layer create /Name:"Anonymous" /LayerRule:"not authenticated"
layer create /Name:"Disabled" /LayerRule:"false"
layer create /Name:"TheHomepage" /LayerRule:"url '~/'"
page create /Slug:"welcome-to-orchard" /Title:"Welcome to Orchard!" /Path:"welcome-to-orchard" /Homepage:true /Publish:true /UseWelcomeText:true
widget create /Type:"HtmlWidget" /Title:"First Leader Aside" /Zone:"TripelFirst" /Position:"5" /Layer:"TheHomepage" /UseLoremIpsumText:true
widget create /Type:"HtmlWidget" /Title:"Second Leader Aside" /Zone:"TripelSecond" /Position:"5" /Layer:"TheHomepage" /UseLoremIpsumText:true
widget create /Type:"HtmlWidget" /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"TheHomepage" /UseLoremIpsumText:true
menuitem create /MenuPosition:"1" /MenuText:"Home" /Url:"" /OnMainMenu:true menuitem create /MenuPosition:"1" /MenuText:"Home" /Url:"" /OnMainMenu:true
</Command> </Command>