Configuration
All settings are stored in the site configuration
(config/). Edit them in the backend module
Sites > Setup (TYPO3 v14). The extension adds four tabs:
- PWA Manifest – basic data and icons
- PWA Manifest Shortcuts – up to three shortcuts
- PWA Manifest Screenshots – up to three screenshots
- PWA Offline / Service Worker – see Offline support / service worker
Shortcuts and screenshots are provided as three fixed field groups each.
Empty fields are omitted from the manifest. If no field is filled, the
manifest is an empty JSON array ([]).
Basic manifest data
Tab PWA Manifest, palette PWA Manifest name.
Basic manifest data and icons
| Name | Type |
|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (color) | |
| string (color) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (link) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string |
-
- Type
- string
Label Short Name. Manifest member
short_.name
-
- Type
- string
Label Name. Manifest member
name.
-
- Type
- string
Label Start Url. Manifest member
start_. Also used as offline fallback when no offline page is set.url
-
- Type
- string
Label Scope. Manifest member
scope.
-
- Type
- string
Label Id. Manifest member
id.
-
- Type
- string
Label Display. Manifest member
display. Allowed values:standalone,fullscreen,minimal-,ui browser.
-
- Type
- string (color)
Label Background Color (color picker). Manifest member
background_.color
-
- Type
- string (color)
Label Theme Color (color picker). Manifest member
theme_.color
-
- Type
- string
Label Description. Manifest member
description.
Icons
Tab PWA Manifest, palette PWA Manifest icons. Both
icons are written to the manifest member icons. An icon is only added if
its path is set.
| Name | Type |
|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (color) | |
| string (color) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (link) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string |
-
- Type
- string
Label Small icon path. Icon
src, example:fileadmin/.woit_ pwamanifest/ 192x192. png
-
- Type
- string
Label Small icon type. Icon
type, example:image/.png
-
- Type
- string
Label Small icon size. Icon
sizes, example:192x192.
-
- Type
- string
Label Big icon path. Icon
src, example:fileadmin/.woit_ pwamanifest/ 548x548. png
-
- Type
- string
Label Big icon type. Icon
type, example:image/.png
-
- Type
- string
Label Big icon size. Icon
sizes, example:548x548.
Shortcuts
Tab PWA Manifest Shortcuts, palettes
PWA Manifest Shortcut 1 to PWA Manifest Shortcut 3.
Written to the manifest member shortcuts.
Shortcuts 1 and 2 (shortcut 3 has the same fields)
In the field names below, N stands for 1, 2 or 3.
A shortcut is only added to the manifest if WitPwamanifestShortcutsNUrl is set and at least one of WitPwamanifestShortcutsNName or WitPwamanifestShortcutsNShortName is set.
| Name | Type |
|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (color) | |
| string (color) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (link) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string |
-
- Type
- string
Label Name (required). Shortcut
name.
-
- Type
- string
Label Short name. Shortcut
short_.name
-
- Type
- string
Label Description. Shortcut
description.
-
- Type
- string (link)
Label URL (required). Link to a TYPO3 page or an external URL (link browser). Rendered as absolute URL into shortcut
url.
-
- Type
- string
Label Icon source. Shortcut icon
src, example:fileadmin/.woit_ pwamanifest/ 192x192. png
-
- Type
- string
Label Icon sizes. Shortcut icon
sizes, example:192x192.
Screenshots
Tab PWA Manifest Screenshots, palettes
PWA Manifest Screenshot 1 to PWA Manifest Screenshot 3.
Written to the manifest member screenshots.
Screenshot configuration
In the field names below, N stands for 1, 2 or 3.
A screenshot is only added to the manifest if
WitPwamanifestScreenshotNSrc is set.
| Name | Type |
|---|---|
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (color) | |
| string (color) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string (link) | |
| string | |
| string | |
| string | |
| string | |
| string | |
| string |
-
- Type
- string
Label Screenshot source. Screenshot
src.
-
- Type
- string
Label Screenshot type. Screenshot
type, example:image/.png
-
- Type
- string
Label Screenshot size. Screenshot
sizes, example:192x192.
-
- Type
- string
Label Form factor. Screenshot
form_. Allowed values:factor wide,narrow.
Browser requirements
Chrome DevTools reports the following when fields are missing:
- Without a screenshot with WitPwamanifestScreenshotNFormFactor
wide, the richer install UI is not available on desktop. - Without a screenshot with form factor
narrow(or none set), the richer install UI is not available on mobile. - At least one square icon is required. Paths must be reachable from the browser, see Troubleshooting.
Example
WitPwamanifestShortName: 'Example'
WitPwamanifestName: 'Example Website'
WitPwamanifestStartUrl: '/'
WitPwamanifestScope: '/'
WitPwamanifestDisplay: standalone
WitPwamanifestbackgroundColor: '#ffffff'
WitPwamanifestThemeColor: '#004a99'
WitPwamanifestSmallIconPath: 'fileadmin/woit_pwamanifest/192x192.png'
WitPwamanifestSmallIconType: 'image/png'
WitPwamanifestSmallIconSize: '192x192'
WitPwamanifestBigIconPath: 'fileadmin/woit_pwamanifest/548x548.png'
WitPwamanifestBigIconType: 'image/png'
WitPwamanifestBigIconSize: '548x548'