This week in Orchard - 12/21/2018

This week in Orchard

The last This week in Orchard for this year is here. Let's see the latest news around Orchard Core and Lombiq!

On Orchard Core

Fix modules that don't correctly use PathBase-relative root paths

Many modules - like the setup module - reference CSS and JS files using root-relative paths. E.g.:

<link type="text/css" rel="stylesheet" href="/OrchardCore.Setup/Styles/setup.min.css" />

Sadly, this doesn't work (at all) when hosting your application under a virtual path (for instance, http://localhost/orchard). To fix that, all the assets should be referenced using the PathBase-relative syntax (~/). E.g.:

<link type="text/css" rel="stylesheet" href="~/OrchardCore.Setup/Styles/setup.min.css" />

In this case, MVC will correctly compute the asset URL based on the PathBase defined by the IIS integration middleware.

Mobile friendliness issues

There are issues with mobile view. First of all, the list actions are not responsive. Here you can see the list of the blog. Here we should move the icons to have more space for the title.

The asset management if wider than the view. The landscape mode of the Media is overflowing on the right without a scrollbar.

The navigation doesn't provide scrolling. The menu here is going far below, but there is no way to tap to the items.

By using the Device Mode in Chrome DevTools to simulate mobile devices, you can choose to render your site with low-end devices. It was taking 10 seconds to load the css, 10 seconds to load jQuery, that means the site on those devices are quite unusable.

What can we do? We don't have any compression middleware active. To solve this issue, we need to set the cache headers on the static assets in the future.

Antoine Griffard's new site

Antoine Griffard started to develop his personal site by using Orchard Core! Check out the site!

On Lombiq

Introducing our HipChat to Microsoft Teams Migration Utility

If you're a user of Atlassian's chat service, HipChat, just like us, then you've surely heard that it'll be retired in February 2019. While Atlassian recommends and officially supports migrating to Slack what if you wanted to try Microsoft Teams instead? While there is no offical support from Microsoft to migrate to Teams you can try our free and open source tool that we're releasing just now! Let us know how it works for you and if you can contribute with bug reports, feature requests or code that would be awesome! Grab the HipChat to Microsoft Teams Migration Utility from GitHub!

Orchard Dojo Newsletter

Now we have 32 subscribers of the Lombiq's Orchard Dojo Newsletter! We have started this newsletter to inform the community around Orchard with the latest news about the platform. By subscribing to this newsletter, you will get an e-mail every time when a new post published to Orchard Dojo, including This week in Orchard of course.

Do you know of other Orchard enthusiast who you think would like to read our weekly articles? Tell them to subscribe here!

And don't forget to watch the recording of the last Orchard Podcast of 2018 on YouTube!

Lombiq Technologies wishes a Merry Christmas and a Happy New Year to the readers of This week in Orchard! See you on the 4th of January!

No Comments

Add a Comment