diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs index 6cf4faaef..2e8955b40 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Services/SetupService.cs @@ -228,30 +228,36 @@ namespace Orchard.Setup.Services { htmlWidget.As().Title = T("Welcome to Orchard!").Text; htmlWidget.As().Zone = "Content"; htmlWidget.As().Position = "5"; - htmlWidget.As().Text = "

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

"; + htmlWidget.As().Text = "

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); + // and three more for the third aside...really need this elsewhere... - var asideHtmlWidget = contentManager.Create("HtmlWidget"); - asideHtmlWidget.As().LayerPart = homepageLayer.As(); - asideHtmlWidget.As().Title = T("First Leader Aside").Text; - asideHtmlWidget.As().Zone = "AsideThird"; - asideHtmlWidget.As().Position = "4"; - asideHtmlWidget.As().Text = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a nibh ut tortor dapibus vestibulum. Aliquam vel sem nibh. Suspendisse vel condimentum tellus.

"; - contentManager.Publish(asideHtmlWidget); var asideHtmlWidget1 = contentManager.Create("HtmlWidget"); asideHtmlWidget1.As().LayerPart = homepageLayer.As(); - asideHtmlWidget1.As().Title = T("Second Leader Aside").Text; + asideHtmlWidget1.As().Title = T("First Leader Aside").Text; asideHtmlWidget1.As().Zone = "AsideThird"; - asideHtmlWidget1.As().Position = "5"; + asideHtmlWidget1.As().Position = "4"; asideHtmlWidget1.As().Text = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a nibh ut tortor dapibus vestibulum. Aliquam vel sem nibh. Suspendisse vel condimentum tellus.

"; + asideHtmlWidget1.As().Owner = user; contentManager.Publish(asideHtmlWidget1); + var asideHtmlWidget2 = contentManager.Create("HtmlWidget"); asideHtmlWidget2.As().LayerPart = homepageLayer.As(); - asideHtmlWidget2.As().Title = T("Third Leader Aside").Text; + asideHtmlWidget2.As().Title = T("Second Leader Aside").Text; asideHtmlWidget2.As().Zone = "AsideThird"; - asideHtmlWidget2.As().Position = "6"; + asideHtmlWidget2.As().Position = "5"; asideHtmlWidget2.As().Text = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a nibh ut tortor dapibus vestibulum. Aliquam vel sem nibh. Suspendisse vel condimentum tellus.

"; + asideHtmlWidget2.As().Owner = user; contentManager.Publish(asideHtmlWidget2); + + var asideHtmlWidget3 = contentManager.Create("HtmlWidget"); + asideHtmlWidget3.As().LayerPart = homepageLayer.As(); + asideHtmlWidget3.As().Title = T("Third Leader Aside").Text; + asideHtmlWidget3.As().Zone = "AsideThird"; + asideHtmlWidget3.As().Position = "6"; + asideHtmlWidget3.As().Text = "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a nibh ut tortor dapibus vestibulum. Aliquam vel sem nibh. Suspendisse vel condimentum tellus.

"; + asideHtmlWidget3.As().Owner = user; + contentManager.Publish(asideHtmlWidget3); // create the home page as a WidgetPage var page = contentManager.Create("WidgetPage", VersionOptions.Draft);