Skip to content

Kirby Kosmos

Some of you probably missed our April issue, which I unfortunately had to skip for several reasons. But here we finally are with issue 45 and lots of new stuff 🎉. Hope you are all fine and keeping up the spirit despite the coronavirus' grip.

Security release

While we are busy working on 3.4 we had to to release a security release this week. 3.3.6 fixes a minor security issue, which affects installations on .dev domains or behind reverse proxies that have no registered Panel users yet. Read more about it here: https://github.com/getkirby/kirby/releases/tag/3.3.6.

❤️ Kirby in the wild 1

While flat-file by nature, Kirby also supports virtual pages from all sorts of sources (database, APIs etc.). Or use Kirby as your backend and go headless on the frontend. The possible solutions are as flexible as your ideas are infinite.

iga dolowy URBANISME PAYSAGE

💡 Kirby tip of the month

Page models allow you to add new methods to custom page types or to override Kirby's native page methods. You can, for example, leverage models to modify user input at page creation or to add default values you cannot add through blueprints. The possibilities are endless. In this example, we modify the page slug when a new page is created:

class ArticlePage extends Page
{

  public static function create(array $props): Page
  {
    $props['slug') = 'mynewslug';
    return parent::create($props);
  }
}

🧩 Kirby plugins

Easily manage .zip backups from Kirby's Panel with Kirby Backup. Requires Kirby Janitor.

Add Two-factor authentication to the Kirby Panel with Kirby 2fa.

Both Kirby Resolve and Kirby Bolt are plugins aimed at speeding up page look-ups in Kirby.

Kirby 3 Vips thumbnail is a thumbs driver for libvips, which is particularly useful if you have to deal with very large images.

Micropublisher provides an adaptable Micropub endpoint for Kirby. The plugin is still in beta, and testers are welcome. You can read more about it in Sebastian's accompanying article.

Kirby Git shows you Git changes in the Kirby panel and allows you to add/commit/push them, manually or automatically.

Always test third-party plugins thoroughly before using them in production. Note that we do not test plugins we list here.

Kirby themes

Zero One is a new Kirby theme packed with many page types and other useful features.

Kirby in the wild 2

Mode Remote

Visit our showcase for more great examples of Kirby in the wild.

Kirby docs

We added a new "Best practices" chapter to our plugin documentation with a collection of tips to keep in mind when developing your plugins. Feel free to contribute your ideas via GitHub issues or PRs.

Productivity

Find the right glyph out of a database of 30,000 Unicode characters with the Glyphfinder app.

nostromo is a CLI that facilitates managing aliases through simple commands.

Get more productive with Espanso, an Open Source text expander app, available for macOS, Windows and Linux.

Browser preview apps

Solis is a browser that integrates with several code editors and other tools to provide live-reloading and multi-viewport previews for HTML & CSS (macOS only, one-time purchase).

Sizzy is similar to Solis, but available for macOS, Windows and Linux (plan-based pricing).

Collaboration

Braid is an Open Source group collaboration tool, which can be use as a paid service or self-hosted.

CSS

Discover how to use CSS Grid and its math functions to create flexible layouts without media queries.

Using content in pseudo-elements can affect accessibility but this can be mitigated by providing alternative text right in CSS.

PHP

Dominik Liebler maintains a collection of PHP design patterns with documentation and code examples.

This & That

If you don't yet feel comfortable with Git branching and merging and want to do some interactive, visual exercising, head over to Learn Git Branching.

Adrian Roselli discusses how the changing role of websites in a pandemic might affect the legal situation regarding accessibility (in the US).

The No Style Design System contains the components and patterns from the book Form Design Patterns by Adam Silver.

In The New Future of Work, Sam Harris speaks with Matt Mullenweg about the evolution of distributed work.

Are flags a useful way of visualizing languages in websites? While many big companies have removed flags as language representations in recent years, they are still common practice. Why not to use flags.

"Discoverability is cut almost in half by hiding a website’s main navigation. Also, task time is longer and perceived task difficulty increases." (https://www.nngroup.com/articles/hamburger-menus/)