Runway Logo

Multisite

Out of the box, Runway doesn't come with multisite support as Runway doesn't assume anything about how your models are created.

However, there is an easy way to scope the model results you get to only those related to the currently selected site.

  1. Add a column to your model that'll contain a site handle.

  2. Once created, add the following scope to your model. Be sure to change site to the handle of the column you just created.

1// app/Models/Post.php
2 
3use Statamic\Facades\Site;
4 
5public function scopeRunway($query)
6{
7 $query->where('site', Site::selected()->handle());
8}
  1. Now, when you go to your model's listing page, the returned results should relate to the currently selected site.

Localisations

Sorry, Runway doesn't support creating localisations of records as we've built Runway to be as unopinionated as possible, which introducing this feature would go against.