Recent Posts and Articles
In our previous post, we completed the header and navigation containers in our Layout.cshtml. In this post, we're going to work on the main content container and the footer. I decided to break up the Layout.cshtml file into multiple blog posts because there is so much going on in this file to define the site structure that a single blog post would have been too long. The bulk of the coding in this file is going to be in the main content container that we're working on today. Let's get started.
- Status: few changes since the 1.8 release. One of them is a small one that improves performance when having a huge amount (millions) of content items. MaxPagedCount property added as a site setting to prevent users from displaying huge amount of content items at once, which could cause a major disruption in performance.
- Orchard Pros: a platform to connect the members of the Orchard community to exchange knowledge and help each other by solving problems, answer tickets and hunt "bounties" in a gamified manner.
- There already are a few speaker submissions for Harvest.
Brought to you by: Orchard Hungary
Before you upgrade your Orchard Website to Orchard 1.8, I recommend you read the Orchard 1.8 Release Notes. There are some steps formatted in BOLD that clearly state you must assign the Administrator Role to your Orchard Super User Account before performing the upgrade. If you don't, you will get locked out of the dashboard and have to either 1) re-do the 1.8 upgrade again after performing the step or 2) gain access to the Orchard database and do a bit of manual hacking.
- 1.8 has been re-released twice because of last-minute bugs, but they are fixed now. 1.8 is already available in WebPI and the Azure Gallery.
- WAMS integration to Orchard will be a topic discussed at the Build conference!
- The official Halo website not only uses Orchard to power its blog, but also uses the Orchard.Azure.MediaServices module.
- Migration from after a certain point of 1.x to 1.8 requires a special step described in a forum topic due to a bug in data storage.
- The next version number will be 1.8.1 for bugfixes.
- Discussion about ideas for 1.9 has started on the forums. Sébastien's plans for new modules: audit trail, REST API, deployment (handling staging and production environments), dynamic layouts, localization improvements. Others' ideas: SignalR, admin UI redesign with Bootstrap, OWIN, ASP.NET Identity 2.0, content deployment, SQLite, PostgreSQL.
- Orchard Module Competition 2.0 is coming soon, organized by Lombiq, executed by the core community members. Places, prizes, great modules and beautiful themes! Results will be announced at Harvest.
- HP PurchasEdge is NOT a phising website, but a genuine HP-related website that exists for 10 years and was migrated 2 years ago to Orchard 1.3.
- The website for Orchard Harvest 2014 is live (and updated)! See the summary of important details about the event on the forums.
Brought to you by: Orchard Hungary
In our previous post, we setup the bulk of the file structure for our theme including scripts and styles and created the Document.cshtml file that determines when and where they all get loaded. This post is going to concentrate on the Layout.cshtml file which is going to create the basic HTML structure for the website. This time, we're going to copy the Layout.cshtml file from the TheThemeMachine theme which is the default built-in theme that comes with Orchard. The file can be located in the Orchard.Web project under Themes/TheThemeMachine/Views. Copy the Layout.cshtml file and paste it in to the Views folder of your theme. If you're using my ThemeStarter project, you'll already find a copy of Layout.cshtml in your Views folder.
I have been asked by several people to repost my blog series on creating an Orchard CMS theme from one of the countless templates you can purchase on the internet these days. It has taken a long time for me to get around to it due to the family health issues we've been dealing with over the past 9 months. I'm finally have a little time on my hands and am working on quite a few themes at the moment anyways that it seems like a good time to document the progress for those that are interested in my process. This series is going to be a little different from the previous one...I have learned quite a lot about theming Orchard CMS over the past couple of years and I've gotten to the point that I can convert a template to a Orchard CMS theme in about 10 hours. So, let's get started!
The Orchard Jobs Queue in Orchard 1.8 can be used to send email asynchronously. This is especially useful when sending email from custom forms that are submitted on your Orchard Website via Orchard Workflow. Enabling email to use the new Jobs Queue is as simple as selecting a Queued option in your Send Email Workflow Activity.