Commit Graph

13 Commits

Author SHA1 Message Date
Nathan Heskew
902769569f Fixing up the RoutePart so a page that is set to be the home page only becomes the home page if the page is published
- previously if the page wasn't immediately published (saved as draft or scheduled for later publishing) it still overrode the home page setting and the home page subsequently became a nice 404 page

--HG--
branch : dev
2010-11-30 14:02:26 -08:00
Nathan Heskew
79fbacf0b6 Updating the RoutableHomePageProvider to use the relevant display action for the given content item.
This lets unique display actions, like Blog/Item, do their own thing. In the case of the blog, its posts are once again showing up on the home page.

The routing problem (where the home page'd item still is seen as having its own path) still needs to be fixed so the item on the home page can't be hit at different URLs (and so something like paging works on the home page)

work item: 16720

--HG--
branch : dev
2010-11-25 22:10:07 -08:00
Nathan Heskew
a65395e23d Removing the Orchard.Core.Shapes' Display.cshtml
--HG--
branch : dev
2010-10-18 01:45:07 -07:00
Louis DeJardin
70426a89b9 Overloading ContentPart to optionally have new shape passed in
If lambda takes an argument, it is dynamic, and is an uninitialized shape of the named type
ShapeHelper and IShapeHelperFactory are obsolete - IShapeFactory itself is now dynamic

--HG--
branch : dev
2010-10-15 17:24:30 -07:00
Sebastien Ros
dd53923130 Correcting http://orchardqa.codeplex.com/workitem/116
- Removed Orchard.Mvc.NotFoundResult, replaced by the new MVC HttpNotFoundViewResult

--HG--
branch : dev
2010-10-14 11:30:58 -07:00
Nathan Heskew
ddca57edd4 Making progress on updating the content manager API fit better with the new dynamic UI composition scheme
- Includes changing display-related implementations (drivers & views) to work with shapes
- Editor implementations still on the old template model
- Orchard.Blogs is currently using a different display type instead of specifying alterations (for Blog and BlogPost)

--HG--
branch : dev
2010-10-11 02:06:01 -07:00
Louis DeJardin
458be54ca4 Some code cleanup
Adding a back-reference from ShapeBinding to ShapeDescriptor
Changing HomePage display type to default ("_HomePage" will be indicated in a different way)
Moving IShapeFactoryEvents into its own file

--HG--
branch : theming
2010-09-14 12:29:48 -07:00
Nathan Heskew
5e53b4dd46 Getting display in order for the (routable-specified) home page
--HG--
branch : theming
2010-09-13 14:48:22 -07:00
Nathan Heskew
043bcf54ee Retiring ContentItemViewModel
...and all that entails
- things like IZone and IZoneCollection are barely roughed in

--HG--
branch : theming
2010-09-03 16:04:42 -07:00
Nathan Heskew
33d47b3c39 Build*Model -> Build*Shape (in process of changing to work with (Clay) shapes instead of ContentItemViewModel)
--HG--
branch : dev
2010-09-02 15:11:33 -07:00
Nathan Heskew
2077ab964b Adding "set as homepage" functionality to the RoutePart
- Orchard.Pages was already gone and Orchard.Blogs is now gone (made redundant and less functional in a way)

--HG--
branch : dev
2010-07-23 14:30:22 -07:00
Nathan Heskew
f482c738ec IsRoutable -> RoutePart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Drivers/RoutableDriver.cs => src/Orchard.Web/Core/Routable/Drivers/RoutePartDriver.cs
rename : src/Orchard.Web/Core/Routable/Handlers/RoutableHandler.cs => src/Orchard.Web/Core/Routable/Handlers/RoutePartHandler.cs
rename : src/Orchard.Web/Core/Routable/Models/IsRoutable.cs => src/Orchard.Web/Core/Routable/Models/RoutePart.cs
rename : src/Orchard.Web/Core/Routable/Models/RoutableRecord.cs => src/Orchard.Web/Core/Routable/Models/RoutePartRecord.cs
rename : src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.IsRoutable.ascx => src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.ascx
2010-07-23 01:01:49 -07:00
Nathan Heskew
4c7973e2ce Disabling the Orchard.Pages module by default and adjusted the page content type configured during setup to be a page-like content type.
- also added a RoutableHomePageProvider to support a routable item as the home page

--HG--
branch : dev
2010-07-13 17:19:08 -07:00