OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.12k forks source link

Layout-HomePage not working? #846

Closed orchardbot closed 9 years ago

orchardbot commented 13 years ago

danikenan created: https://orchard.codeplex.com/workitem/17014

I have added to the TheThemeMachine a Views/Layout-HomePage.cshtml with trivial text in it.

The homepage does not use this layout. What else needs to be done?

(I know I am not supposed to add files to the TheThemeMachine, but this is a last attempt after trying to create my own derived/not derived custom theme which also did not respond to the Layout-HomePage.cshtml I put there.)

10x

orchardbot commented 13 years ago

@bleroy commented:

That is still supposed to work, right?

orchardbot commented 13 years ago

rpaquay commented:

No, but we will work on a gallery module that will enable a scenario like this.

orchardbot commented 13 years ago

danikenan commented:

According to the docs (even the updated for 8...) it does.

orchardbot commented 13 years ago

@bleroy commented:

In the meantime, I wrote a blog post on how to get this working from a custom theme: http://weblogs.asp.net/bleroy/archive/2010/12/14/switching-the-layout-in-orchard-cms.aspx

orchardbot commented 13 years ago

@bleroy closed and commented:

Fixed by enabling the Url alternates feature.