Your offices live under Offices in your team's menu. Each one keeps everything a visitor needs to reach you at that location. This guide covers the office form and how to show your offices on your site.
The office list
The list shows each office with its title and whether it is active, newest first. Create opens an empty form, and when your offices have custom fields with a filter, the filters narrow the list by their values. Offices have no categories.
Each row lets you open, edit, delete or copy the office. Copying is described in Clone an item.
Create an office
- Click Create.
- Fill in the sections below. Only Title is required.
- Click the save button at the bottom.
Basic Data
| Field | What it does |
|---|---|
| Title | Required. The office's name, such as Main office. |
| Description | A text about the office, in an editor with bold, lists, links and headings. |
| Media | Photos and files of the office. You can upload several or pick them from your files. |
| Is Active | On by default. Off, the office stays saved and is marked as inactive. |
When your team has custom fields for offices, their inputs appear in this section. See Custom fields and choose Office as the field's model.
Address
| Field | What it does |
|---|---|
| Address Lines | Up to three lines; the form starts with one. For example the street and number, the neighbourhood, and the city with its postal code. |
| Latitude and Longitude | The office's position on a map, as numbers. Copy them from your map app. |
Phones
| Field | What it does |
|---|---|
| The WhatsApp number of the office. | |
| Phones | Up to three phone numbers. |
Email Addresses
Up to three email addresses for the office.
Social Media
The office's Facebook, Twitter and Instagram: write the link or the account name, as you want it shown.
Edit an office
Editing shows the Slug in Basic Data, the end of the office's address. It is written from the title, and it is written again from the title every time you save the office with another title, unless you change the slug yourself in that same save. Lowercase letters, numbers, hyphens and slashes, up to 100 characters.
Files
The files you upload are kept in your team's files, in the Offices folder, inside a folder named after the number of the office. A file you pick from your files instead stays where it is. Every file counts against your team's storage space; when there is no space left, the upload is refused. See Your media library and Your storage space.
On your site
Unlike services, posts and partners, offices do not come with pages on your site, and there is no office template to choose in a page. To show them, someone who writes your site's code creates a page that lists them: see For developers. Until then, saving an office changes nothing on your site.
Who can do what
The actions follow the team permissions Office: See, Office: Create, Office: Update and Office: Delete on the Roles screen. A deleted office is kept, and only a member with the team's owner role can restore it or delete it for good.
For developers
- The screen is
App\Front\Resources\Team\Officeat/team/offices, overApp\Models\Office(officestable), withOfficePolicy(permission nameoffice). - A page lists the active offices with
team()->offices()->active()->get().address,phonesandemailsare arrays, andsocialis an array with the keysfacebook,twitterandinstagram;lat,lngandwhatsappare strings. $office->urlanswers#: there is noOfficeDetailtemplate.- The office slug is unique across every team's offices, not only yours, so a title another team already uses gets a number at the end of its slug.
- The files go to
Offices/{id}in the team library.