diff --git a/src/Orchard.Web/Orchard.Web.csproj b/src/Orchard.Web/Orchard.Web.csproj index bbdcb30e6..798316ec5 100644 --- a/src/Orchard.Web/Orchard.Web.csproj +++ b/src/Orchard.Web/Orchard.Web.csproj @@ -120,6 +120,10 @@ {9916839C-39FC-4CEB-A5AF-89CA7E87119F} Orchard.Core + + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867} + Orchard.Blogs + {1ECC1131-0D0C-4822-AD90-E979868C63F3} Orchard.CmsPages diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Controllers/AdminController.cs b/src/Orchard.Web/Packages/Orchard.Blogs/Controllers/AdminController.cs new file mode 100644 index 000000000..1b4cd5a50 --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Controllers/AdminController.cs @@ -0,0 +1,12 @@ +using System.Web.Mvc; +using Orchard.Mvc.ViewModels; + +namespace Orchard.Blogs.Controllers +{ + public class AdminController : Controller + { + public ActionResult Index() { + return View(new AdminViewModel()); + } + } +} diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Orchard.Blogs.csproj b/src/Orchard.Web/Packages/Orchard.Blogs/Orchard.Blogs.csproj new file mode 100644 index 000000000..c043069e8 --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Orchard.Blogs.csproj @@ -0,0 +1,110 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867} + {F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + Orchard.Blogs + Orchard.Blogs + v3.5 + false + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + 3.5 + + + 3.5 + + + 3.5 + + + False + C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 2\\Assemblies\System.Web.Mvc.dll + + + 3.5 + + + + + + + + + + + + + + + + + + + + + + + + + {2D1D92BB-4555-4CBE-8D0E-63563D6CE4C6} + Orchard + + + + + + + + + + + + + + + + False + True + 52475 + / + + + False + False + + + False + + + + + \ No newline at end of file diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Package.txt b/src/Orchard.Web/Packages/Orchard.Blogs/Package.txt new file mode 100644 index 000000000..a6547b31d --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Package.txt @@ -0,0 +1 @@ +name: Blogs diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Properties/AssemblyInfo.cs b/src/Orchard.Web/Packages/Orchard.Blogs/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..aea918acd --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Orchard.Blogs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Orchard.Blogs")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2009")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5e4b59c4-24e0-4bf0-af33-5eb157f6564c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Views/Admin/Index.aspx b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Admin/Index.aspx new file mode 100644 index 000000000..47246c920 --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Admin/Index.aspx @@ -0,0 +1,17 @@ +<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> +<%@ Import Namespace="Orchard.Mvc.Html"%> +<%@ Import Namespace="Orchard.Mvc.ViewModels"%> + + + + Index2 + <% Html.Include("Head"); %> + + + <% Html.Include("Header"); %> +
+

Blogs Admin

+
+ <% Html.Include("Footer"); %> + + diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Views/Web.config b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Web.config new file mode 100644 index 000000000..7022197d4 --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Web.config @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Web.config b/src/Orchard.Web/Packages/Orchard.Blogs/Web.config new file mode 100644 index 000000000..f09c2219f --- /dev/null +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Web.config @@ -0,0 +1,153 @@ + + + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Orchard.sln b/src/Orchard.sln index 636b8d3e2..03258d51b 100644 --- a/src/Orchard.sln +++ b/src/Orchard.sln @@ -31,6 +31,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{74E681ED EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orchard.Wikis", "Orchard.Web\Packages\Orchard.Wikis\Orchard.Wikis.csproj", "{17C44253-65A2-4597-98C7-16EE576824B6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orchard.Blogs", "Orchard.Web\Packages\Orchard.Blogs\Orchard.Blogs.csproj", "{63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -89,6 +91,10 @@ Global {17C44253-65A2-4597-98C7-16EE576824B6}.Debug|Any CPU.Build.0 = Debug|Any CPU {17C44253-65A2-4597-98C7-16EE576824B6}.Release|Any CPU.ActiveCfg = Release|Any CPU {17C44253-65A2-4597-98C7-16EE576824B6}.Release|Any CPU.Build.0 = Release|Any CPU + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867}.Debug|Any CPU.Build.0 = Debug|Any CPU + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867}.Release|Any CPU.ActiveCfg = Release|Any CPU + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -104,5 +110,6 @@ Global {79AED36E-ABD0-4747-93D3-8722B042454B} = {E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5} {D10AD48F-407D-4DB5-A328-173EC7CB010F} = {E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5} {17C44253-65A2-4597-98C7-16EE576824B6} = {E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5} + {63FBD4D9-E1DA-4A7B-AA6A-D6074FE50867} = {E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5} EndGlobalSection EndGlobal