Configuration
This extension ships its frontend TypoScript and its backend page TSconfig in two forms: as TYPO3 site sets, and as classic static templates plus page TSconfig files that are selected on a page. Both forms read the very same files, so they configure an installation identically.
Pick one of them per site and stay with it — see Do not combine both for what happens otherwise.
What the sets contain
The extension ships the ProfileEditing component and one aggregate set that keeps the stable extension-level set name.
| Set | Delivers |
|---|---|
fgtclb/ | The assigned-profile list, profile editor, AJAX page type and the page TSconfig that offers ProfileEditing in the backend. |
fgtclb/ | ProfileEditing under the stable aggregate name. This is the normal set to use. |
Both depend on fgtclb/, the set of
EXT:academic_base that labels the content element group all academic
extensions sort their elements into.
The plugin renders partials of EXT:academic_persons, but it reads
them from Resources/, not from that extension's TypoScript. There is
therefore no set dependency on any fgtclb/ set, and none is
needed.
Include the site set
Add the set to the config. of the site that should offer the content
element:
base: 'https://example.com/'
rootPageId: 1
+dependencies:
+ - fgtclb/academic-persons-edit
See also TYPO3 Explained, Using a site set as dependency in a site.
The View action in the assigned-profile list uses the same public
detail page as the Academic Persons list plugins. Configure
plugin. in the Academic Persons site settings
or TypoScript constants. ProfileEditing copies that value into its own Extbase
settings and targets the academicpersons_ content element; it does
not require a second page setting in Academic Persons Edit.
Include static templates
For an installation that still configures its frontend through
sys_ records, the same files are registered as static templates
and as selectable page TSconfig files.
Tip
On TYPO3 v13 and v14 we recommend the site set — and if you use it, do not
press the backend button Create a root TypoScript record on that
site. The
sys_ record it creates carries the flag
Clear for constants and setup, and that flag discards everything
the site sets contributed. An installation that is already in that state
gets its configuration back by selecting the static templates below in that
very record.
Include static TypoScript
Edit the
sys_ record of the site root and add the entry to
Include static (from extensions):
| Entry | Delivers |
|---|---|
| Academic Persons Edit: Profile editing (academic_persons_edit) | The TypoScript and AJAX page type of ProfileEditing. |
| Academic Persons Edit: All components (academic_persons_edit) | Every component this extension ships, in one entry. |
| Academic Persons Edit: Path up to 2.3 (deprecated, use All components) (academic_persons_edit) | The same as All components, for a record that still stores the path of version 2.3. Deprecated, removed in version 4.0, see Deprecation: The static template path of version 2.3. |
Include static page TSconfig
Edit the page record of the site root, tab Resources, field Page TSconfig, and add the entry:
| Entry | Delivers |
|---|---|
| Academic Persons Edit: Profile editing (academic_persons_edit) | Makes ProfileEditing selectable and configures its wizard entry. |
| Academic Persons Edit: All components (academic_persons_edit) | Every component this extension ships, in one entry. |
The setting is inherited by every page below the one it is set on.
Load the script or bring your own
The Profile editing content element loads the module
@fgtclb/ on the page that shows
the editor of a profile. The list of assigned profiles loads no script.
It is switched off per site, for an installation that brings an editor of its own:
| Site setting and constant | Default | Off means |
|---|---|---|
plugin. |
true
| The page does not load the module. |
With the site set, it is a site setting of the component set
fgtclb/, so a site that names only that
set can set it:
plugin.tx_academicpersonsedit.assets.js: false
With the static template, it is the TypoScript constant of the same name:
plugin.tx_academicpersonsedit.assets.js = 0
The editor does not work without its script. Every field, button and
dialog of it is driven by the script: it defines the custom element
<academic- and the elements below it, reads
their configuration from the
data-*
attributes and sends every change
to the endpoints the template names. Switching the script off therefore means
bringing a complete editor for the same markup and the same endpoints, see
Templates. A site that only wants to change how the editor
looks keeps the script, styles the editor in its site package and overrides
partials where the markup has to change.
Do not combine both
A site that uses the site set and the static template reads the shipped
files twice. The site set is applied before the
sys_ record, so
the second read happens after the site settings and after
config/ — and it resets every constant
the extension ships a default for back to that default.
Nothing else is damaged: the Constants and Setup fields
of the
sys_ record, the page TSconfig of a page and the page
TSconfig files selected on a page are all applied afterwards and still win. Use
one mechanism per site and the question does not arise.