Blog Posts

  • Orchard Harvest 2017–Localization

    2/22/2017 4:29:49 PM

    Benedek is one of the founders of Lombiq, and the caretaker of Orchard localization. Application localization requires taking into account cultural differences such as gender, formal vs informal, pluralization, right to left, verbosity, accents, etc. In Orchard, all localizable strings should be wrapped in T() calls. That is enough to make the string localizable in PO files. Some strings can contain placeholders, such as T("Hello, I’m from {0}."). You can use the Vandelay Industries module’s translation extraction feature to extract all the T strings from a module into po files. The module produces a zip archive that contains the layout of localization files that you’d unzip into the site in order to install it. To localize, you can copy any po file from its en-us directory to a new directory for the new culture, then translate the strings inside.

  • Orchard Harvest 2017–Writing a theme for Orchard Core

    2/22/2017 3:02:46 PM

    In the first session of the second day of Orchard Harvest, Steve Taylor showed how to build a new theme for Orchard Core. All the pieces are already in place for building themed sites, and the work is similar to Orchard 1.x themes, except for some json file editing because of missing admin UI in places. New Razor Pages features can be used, such as tag helpers, @inject directives, etc. The tag helpers in particular, coupled with Orchard’s shapes, make for very clean markup in view files. The video for the talk, when available, will be a valuable reference for people who want to get started building sites with Orchard Core: the CMS now looks feature-complete enough to do some serious work. Widgets are there, the shape system is there, search, navigation, all work. That Steve was able to build a complete site and theme under an hour (with some pre-built css and views, of course) shows how far Orchard Core has gone already.

  • Orchard Harvest conference, day 2

    2/22/2017 2:07:00 PM

    Just as on the first day we're reporting in live from the 2017 Orchard Harvest conference! This blogpost will be updated as we go, so make sure to check back!

  • Respecting EXIF metadata in Orchard images

    2/22/2017 4:58:00 AM

    I bought my first camera recently and have been snapping many awful snaps as I bumble around the world. Now, when you take a photo in portrait mode, the camera doesn't do any expensive rotating or anything, it just adds a little tag in to say that this photo should be displayed like this. Naturally that is a pretty dumbed down version of the EXIF metadata but that's the gist of it. So when you open the photo in your photo viewer on the laptop, bam, it looks great. Upload to Orchard? Damn all my photos are sideways. I had no clue what was going on at first but after reading a blog post about what an EXIF tag is, deeming myself an expert, I set about fixing it.

  • Creating a static toolbar for TinyMCE

    2/22/2017 4:19:40 AM

    Ever tried to edit a post that has more lines than your text area in TinyMCE? Scroll down and poof the toolbar is lost. You cant do anything! It is terrible. Here is a simple extension for Orchard to make the toolbar static (the JavaScript should work fine on any old TinyMCE installation).

  • Orchard Harvest 2017–Scaling Orchard

    2/21/2017 8:35:47 PM

    Rob King works for Bede Gaming, which specializes in providing a platform for gambling web sites. The company moved to Orchard in 2013, and has strong scalability requirements, with sites serving millions of requests per day.

  • Orchard Harvest 2017–What’s new in ASP.NET MVC Core 2.0

    2/21/2017 7:43:55 PM

    Taylor Mullen from the ASP.NET team is a developer working on MVC Core 2.0. In this session, he went over the design of the new Razor Pages feature. He carefully explained what is difficult with MVC currently, in order to justify the feature. He actually started by showing what it’s not: it’s not PHP-like, and it’s not a new take on previous “ASP.NET Pages” features.

  • Orchard Harvest 2017: when output cache just isn’t enough

    2/21/2017 4:49:02 PM

    Daniel Stolt and Chris Payne from IDeliverable presented some new output caching techniques that they’ve developed. The problem that they’re solving is what happens when you have to output user-specific data into rendered contents. In those cases, you want to cache the constant parts of the output, while keeping holes dynamic. This is known as donut caching.

Send us new blog feeds

Noticed that a blog's feed is missing from the list? 

We would love to add that to the feed list, so please don't hesitate to inform us on the following e-mail adress:

[email protected]

See our privacy policy.