From 9c2923f78154a5c1a869840cd98809a88073dc6f Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Tue, 12 Oct 2010 11:29:17 -0700 Subject: [PATCH] Adding other zones from the theme machine to its theme.txt and giving the homepage's htmlwidget a position value that makes the widget management UI happy --HG-- branch : dev --- src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs | 1 + src/Orchard.Web/Themes/TheThemeMachine/Theme.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs index e5daeadd2..f8d9b297f 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs @@ -226,6 +226,7 @@ namespace Orchard.Setup.Services { htmlWidget.As().LayerPart = layer.As(); htmlWidget.As().Title = T("Welcome to Orchard!").Text; htmlWidget.As().Zone = "Content"; + htmlWidget.As().Position = "5"; htmlWidget.As().Text = "

Welcome to Orchard!

Congratulations, you've successfully set-up your Orchard site.

This is the home page of your new site. We've taken the liberty to write here about a few things you could look at next in order to get familiar with the application. Once you feel confident you don't need this anymore, just click Edit to go into edit mode and replace this with whatever you want on your home page to make it your own.

One thing you could do (but you don't have to) is go into Manage Settings (follow the Admin link and then look for it under \"Settings\" in the menu on the left) and check that everything is configured the way you want.

You probably want to make the site your own. One of the ways you can do that is by clicking Manage Themes in the admin menu. A theme is a packaged look and feel that affects the whole site.

Next, you can start playing with the content types that we installed. For example, go ahead and click Add New Page in the admin menu and create an \"about\" page. Then, add it to the navigation menu by going to Manage Menu. You can also click Add New Blog and start posting by clicking \"Add New Post\".

Finally, Orchard has been designed to be extended. It comes with a few built-in modules such as pages and blogs or themes. You can install new themes by going to Manage Themes and clicking Install a new Theme. Like for themes, modules are created by other users of Orchard just like you so if you feel up to it, please consider participating.

--The Orchard Crew

"; contentManager.Publish(htmlWidget); diff --git a/src/Orchard.Web/Themes/TheThemeMachine/Theme.txt b/src/Orchard.Web/Themes/TheThemeMachine/Theme.txt index 2a93f052e..0aa044032 100644 --- a/src/Orchard.Web/Themes/TheThemeMachine/Theme.txt +++ b/src/Orchard.Web/Themes/TheThemeMachine/Theme.txt @@ -4,4 +4,4 @@ Description: It's a *really* good theme, yo. Version: 0.1 Tags: Awesome Website: http://orchardproject.net -Zones: Header, Navigation, Messages, Featured, Recent, Footer \ No newline at end of file +Zones: Header, Navigation, Messages, Featured, Recent, Sidebar, Content, Sidebar2, Footer \ No newline at end of file