Settings
Five values configure the three plugins. This page lists all of them, with the default each one ships with.
Settings of the site set
These are the settings the site set Profiles declares. They are
edited in the settings editor of a site that uses the set — see
Site set — or written to
config/ by hand.
| Name | Type | Label |
|---|---|---|
| Profiles | ||
string
|
Storage page | |
page
|
Detail page | |
page
|
Edit page | |
int
|
Endpoint page type | |
string
|
Image upload folder |
modernextbasefrontendedit
-
- Label
- Profiles
modernextbasefrontendedit.persistence.storagePid
-
- Type
string- Default
"0"- Label
- Storage page
- Category
- Profiles
Comma separated list of page uids the profile records are stored on. There is no value meaning "all pages": an empty configuration lists nothing.
modernextbasefrontendedit.showPageUid
-
- Type
page- Default
0- Label
- Detail page
- Category
- Profiles
The page holding the profile detail plugin. The list plugin links its entries to this page.
modernextbasefrontendedit.editPageUid
-
- Type
page- Default
0- Label
- Edit page
- Category
- Profiles
The page holding the profile edit plugin. The list plugin links here for profiles the current frontend user owns, and renders no edit link while this is unset.
modernextbasefrontendedit.ajaxPageType
-
- Type
int- Default
1589- Label
- Endpoint page type
- Category
- Profiles
The page type the editing endpoints answer on. Change it only when another extension on this site already uses this number.
modernextbasefrontendedit.imageUploadFolder
-
- Type
string- Default
"1:/user_ upload/ profiles/" - Label
- Image upload folder
- Category
- Profiles
The folder uploaded profile images are stored in, as a combined storage identifier such as "1:/user_upload/profiles/". It is created on the first upload.
The equivalent TypoScript constants
An installation that does not use site sets configures the same values as TypoScript constants. The two spellings differ — the site setting is a flat, dotted key, the constant sits below the Extbase plugin namespace — so they are listed side by side:
| Site setting | TypoScript constant | Default |
|---|---|---|
modernextbasefrontendedit. | plugin. | 0 |
modernextbasefrontendedit. | plugin. | 0 |
modernextbasefrontendedit. | plugin. | 0 |
modernextbasefrontendedit. | plugin. | 1589 |
modernextbasefrontendedit. | plugin. | 1:/ |
Note that only the storage page keeps its persistence level in the
constant. The other four are Extbase plugin settings and therefore live below
settings, while the storage page is framework configuration that
Extbase reads from persistence.
Behaviour to be aware of
Two of these values behave in a way that a default does not suggest, and both are worth knowing before a page is built around them.
Important
There is no value meaning "all pages" for the storage page.
An empty or unset storage page is not "search everywhere". Extbase turns
the empty configuration into the page id list 0, profile records do
not live on the root level, and the list plugin therefore renders its empty
state. The value has to name the page — or the comma separated pages — the
records are stored on.
Warning
An endpoint page type of 0 makes the edit plugin read only.
The plugin builds one finished URL per editing endpoint from this page
type, and it builds none while the value is 0. The editing
component is not activated without that map, and what stays on the page is
the server rendered profile: readable, complete, and not editable.
That is a deliberate failure mode rather than an error — every button would
otherwise call an address that answers with an HTML page instead of JSON —
but it does mean a value of 0 silently turns editing off. Change
the page type only when the number 1589 collides with another
extension on the same site, and change it to another free number, never to
0.
The image upload folder is a combined storage identifier: a storage number,
a colon, and a folder path, as in 1:/. Any other
shape is refused by the upload configuration, and the endpoint then answers with
an error instead of JSON. The folder itself is created on the first upload; the
storage it names has to exist. An empty value falls back to the same default.