$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]¶
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘addAllowedPaths’]¶
-
addAllowedPaths
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: list Default: ‘’ Additional relative paths (comma-list) to allow TypoScript resources be in. Should be prepended with /. If not, then any path where the first part is like this path will match. That is myfolder/ , myarchive will match for example myfolder/, myarchive/, myarchive_one/, myarchive_2/ …
No check is done to see if this directory actually exists in the root of the site. Paths are matched by simply checking if these strings equals the first part of any TypoScript resource filepath.
(See class template, function init() in
\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser
)
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘debug’]¶
-
debug
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: false If enabled, the total parse time of the page is added as HTTP response header
X-TYPO3-Parsetime
. This can also be enabled/disabled via the TypoScript optionconfig.debug = 0
.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘compressionLevel’]¶
-
compressionLevel
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: int Default: 0 Determines output compression of FE output. Makes output smaller but slows down the page generation depending on the compression level. Requires zlib in your PHP installation. Range 1-9, where 1 is least compression and 9 is greatest compression. true as value will set the compression based on the PHP default settings (usually 5). Suggested and most optimal value is 5.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘pageNotFoundOnCHashError’]¶
-
pageNotFoundOnCHashError
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: true If TRUE, a page not found call is made when cHash evaluation error occurs, otherwise caching is disabled and page output is displayed.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘addRootLineFields’]¶
-
addRootLineFields
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: list Default: ‘’ Comma-list of fields from the pages-table. These fields are added to the select query for fields in the rootline.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘checkFeUserPid’]¶
-
checkFeUserPid
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: true If set, the pid of fe_user logins must be sent in the form as the field pid and then the user must be located in the pid. If you unset this, you should change the fe_users username eval-flag uniqueInPid to unique in $TCA.
This will do
$TCA[fe_users][columns][username][config][eval]= nospace,lower,required,unique;
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘loginRateLimit’]¶
-
loginRateLimit
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: int Default: 5 Maximum amount of login attempts for the time interval in [FE][loginRateLimitInterval], before further login requests will be denied. Setting this value to
"0"
will disable login rate limiting.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘loginRateLimitInterval’]¶
-
loginRateLimitInterval
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: string, PHP relative format Default: ‘15 minutes’ AllowedValues: ‘1 minute’, ‘5 minutes’, ‘15 minutes’, ‘30 minutes’ Allowed time interval for the configured rate limit. Individual values using PHP relative formats can be set in
AdditionalConfiguration.php
.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘loginRateLimitIpExcludeList’]¶
-
loginRateLimitIpExcludeList
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: string Default: ‘’ IP-numbers (with
*
-wildcards) that are excluded from rate limiting. Syntax similar to [BE][IPmaskList]. An empty value disables the exclude list check.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘lockIP’]¶
-
lockIP
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: int
Default: 0
AllowedValues: - 0
Default Do not lock Frontend User sessions to their IP address at all
- 1
Use the first part of the visitors IPv4 address (for example “192.”) as part of the session locking of Frontend Users
- 2
Use the first two parts of the visitors IPv4 address (for example “192.168”) as part of the session locking of Frontend Users
- 3
Use the first three parts of the visitors IPv4 address (for example “192.168.13”) as part of the session locking of Frontend Users
- 4
Use the visitors full IPv4 address (for example “192.168.13.84”) as part of the session locking of Frontend Users (highest security)
If activated, Frontend Users are locked to (a part of) their public IP (
$_SERVER[REMOTE_ADDR]
) for their session, if REMOTE_ADDR is an IPv4-address. Enhances security but may throw off users that may change IP during their session (in which case you can lower it). The integer indicates how many parts of the IP address to include in the check for the session.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘lockIPv6’]¶
-
lockIPv6
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: int
Default: 0
AllowedValues: - 0
Default: Do not lock Backend User sessions to their IP address at all
- 1
Use the first block (16 bits) of the editors IPv6 address (for example “2001”) as part of the session locking of Backend Users
- 2
Use the first two blocks (32 bits) of the editors IPv6 address (for example “20010db8”) as part of the session locking of Backend Users
- 3
Use the first three blocks (48 bits) of the editors IPv6 address (for example “20010db885a3”) as part of the session locking of Backend Users
- 4
Use the first four blocks (64 bits) of the editors IPv6 address (for example “20010db885a308d3”) as part of the session locking of Backend Users
- 5
Use the first five blocks (80 bits) of the editors IPv6 address (for example “20010db885a308d31319”) as part of the session locking of Backend Users
- 6
Use the first six blocks (96 bits) of the editors IPv6 address (for example “20010db885a308d313198a2e”) as part of the session locking of Backend Users
- 7
Use the first seven blocks (112 bits) of the editors IPv6 address (for example “20010db885a308d313198a2e0370”) as part of the session locking of Backend Users
- 8
Use the visitors full IPv6 address (for example “20010db885a308d313198a2e03707344”) as part of the session locking of Backend Users (highest security)
If activated, Frontend Users are locked to (a part of) their public IP (
$_SERVER[REMOTE_ADDR]
) for their session, if REMOTE_ADDR is an IPv6-address. Enhances security but may throw off users that may change IP during their session (in which case you can lower it). The integer indicates how many parts of the IP address to include in the check for the session.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘loginSecurityLevel’]¶
Deprecated since version 11.3: This option got removed with version 11.3. The only possible
value has been ‘normal’. This behaviour stays unchanged. When this option
has been set in your LocalConfiguration.php
or AdditionalConfiguration.php
files, they are automatically
removed when accessing the admin tool or system maintenance area.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘lifetime’]¶
-
lifetime
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: int Default: 0 If greater then 0 and the option permalogin is greater or equal 0, the cookie of FE users will have a lifetime of the number of seconds this value indicates. Otherwise it will be a session cookie (deleted when browser is shut down). Setting this value to 604800 will result in automatic login of FE users during a whole week, 86400 will keep the FE users logged in for a day.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘sessionTimeout’]¶
-
sessionTimeout
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: int Default: 6000 Server side session timeout for frontend users in seconds. Will be overwritten by the lifetime property if the lifetime is longer.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘sessionDataLifetime’]¶
-
sessionDataLifetime
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: int Default: 86400 If greater then 0, the session data of an anonymous session will timeout and be removed after the number of seconds given (86400 seconds represents 24 hours).
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘permalogin’]¶
-
permalogin
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: text Default: 0 -1 Permanent login for FE users is disabled - 0
- By default permalogin is disabled for FE users but can be enabled by a form control in the login form.
- 1
- Permanent login is by default enabled but can be disabled by a form control in the login form.
- 2
- Permanent login is forced to be enabled.
In any case, permanent login is only possible if [FE][lifetime] lifetime is greater then 0.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cookieDomain’]¶
Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: text Default: ‘’ Same as
$TYPO3_CONF_VARS[SYS][cookieDomain]<_typo3ConfVars_sys_cookieDomain>
but only for FE cookies. If empty,$TYPO3_CONF_VARS[SYS][cookieDomain]
value will be used.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cookieName’]¶
Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: text
Default: ‘fe_typo_user’
Sets the name for the cookie used for the front-end user session
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cookieSameSite’]¶
Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: text
Default: ‘lax’
AllowedValues: - lax
Cookies set by TYPO3 are only available for the current site, third-party integrations are not allowed to read cookies, except for links and simple HTML forms
- strict
Cookies sent by TYPO3 are only available for the current site, never shared to other third-party packages
- none
Allow cookies set by TYPO3 to be sent to other sites as well, please note - this only works with HTTPS connections
Indicates that the cookie should send proper information where the cookie can be shared (first-party cookies vs. third-party cookies) in TYPO3 Frontend.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘defaultUserTSconfig’]¶
-
defaultUserTSconfig
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: multiline
Default: ‘’
Enter lines of default frontend user/group TSconfig.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘defaultTypoScript_constants’]¶
-
defaultTypoScript_constants
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: multiline
Default: ‘’
Enter lines of default TypoScript, constants-field.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘defaultTypoScript_setup’]¶
-
defaultTypoScript_setup
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: multiline
Default: ‘’
Enter lines of default TypoScript, setup-field.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘additionalAbsRefPrefixDirectories’]¶
-
additionalAbsRefPrefixDirectories
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: text Default: ‘’ Enter additional directories to be prepended with absRefPrefix. Directories must be comma-separated. TYPO3 already prepends the following directories typo3/, typo3temp/, typo3conf/ext/ and all local storages
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘enable_mount_pids’]¶
-
enable_mount_pids
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: true If enabled, the mount_pid feature allowing symlinks in the page tree (for frontend operation) is allowed.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘hidePagesIfNotTranslatedByDefault’]¶
-
hidePagesIfNotTranslatedByDefault
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: false If enabled, pages that have no translation will be hidden by default. Basically this will inverse the effect of the page localization setting “Hide page if no translation for current language exists” to “Show page even if no translation exists”
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘eID_include’]¶
-
eID_include
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: array Default: [] Array of key/value pairs where the key is
tx_[ext]_[optional suffix]
and value is relative filename of class to include. Key is used as “?eID=” for\TYPO3\CMS\Frontend\Http\RequestHandlerRequestHandler
to include the code file which renders the page from that point.(Useful for functionality that requires a low initialization footprint, for example frontend ajax applications)
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘disableNoCacheParameter’]¶
-
disableNoCacheParameter
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: false If set, the no_cache request parameter will become ineffective. This is currently still an experimental feature and will require a website only with plugins that dont use this parameter. However, using “&no_cache=1” should be avoided anyway because there are better ways to disable caching for a certain part of the website (see
COA_INT/USER_INT<t3tsref:cobj-coa-int>
).
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘additionalCanonicalizedUrlParameters’]¶
-
additionalCanonicalizedUrlParameters
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: array Default: [] The given parameters will be included when calculating canonicalized URL
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’]¶
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’][‘cachedParametersWhiteList’]¶
-
cachedParametersWhiteList:
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’] Type: array Default: [] Only the given parameters will be evaluated in the cHash calculation. Example:
typo3conf/AdditionalConfiguration.php¶$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['cachedParametersWhiteList'][] = 'tx_news_pi1[uid]';
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’][‘requireCacheHashPresenceParameters’]¶
-
requireCacheHashPresenceParameters
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’] Type: array Default: [] Configure Parameters that require a cHash. If no cHash is given but one of the parameters are set, then TYPO3 triggers the configured cHash Error behaviour
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’][‘excludedParameters’]¶
-
excludedParameters
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’] Type: array Default: [‘L’, ‘pk_campaign’, ‘pk_kwd’, ‘utm_source’, ‘utm_medium’, ‘utm_campaign’, ‘utm_term’, ‘utm_content’, ‘gclid’, ‘fbclid’] The given parameters will be ignored in the cHash calculation. Example:
typo3conf/AdditionalConfiguration.php¶$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'] = ['L','tx_search_pi1[query]'];
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’][‘excludedParametersIfEmpty’]¶
-
excludedParametersIfEmpty
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘cacheHash’] Type: array Default: [] Configure Parameters that are only relevant for the cHash if there’s an associated value available. Set excludeAllEmptyParameters to true to skip all empty parameters.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘workspacePreviewLogoutTemplate’]¶
-
workspacePreviewLogoutTemplate
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: text Default: ‘’ If set, points to an HTML file relative to the TYPO3_site root which will be read and outputted as template for this message. Example
fileadmin/templates/template_workspace_preview_logout.html
.Inside you can put the marker
%1$s
to insert the URL to go back to. Use this in<a href="%1$s">Go back...</a>
links.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘versionNumberInFilename’]¶
-
versionNumberInFilename
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’]
Type: dropdown
Default: ‘querystring’
AllowedValues: - ‘’
“Do not include the version/timestamp of the file at all”
- ‘embed’
Include the timestamp of the last modification timestamp of files embedded in the filename - for example
filename.1269312081.js
- ‘querystring’
Default - Append the last modification timestamp of the file as query string for example
filename.js?1269312081
Allows to automatically include a version number (timestamp of the file) to referred CSS and JS filenames on the rendered page. This will make browsers and proxies reload the files if they change (thus avoiding caching issues).
IMPORTANT embed requires extra
.htaccess
rules to work (please refer to theroot-htaccess
file shipped with TYPO3 intypo3/sysext/install/Resources/Private/FolderStructureTemplateFiles
)
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘contentRenderingTemplates’]¶
-
contentRenderingTemplates
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: array Default: [] Array to define the TypoScript parts that define the main content rendering.
Extensions like
fluid_styled_content
provide content rendering templates. Other extensions likefelogin
orindexed search
extend these templates and their TypoScript parts are added directly after the content templates.See
EXT:fluid_styled_content/ext_localconf.php
andEXT:frontend/Classes/TypoScript/TemplateService.php
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘ContentObjects’]¶
Changed in version 12.0: The global variable $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']
has
no effect anymore in TYPO3 12.0 and above. It can be defined to achieve
backward compatibility with TYPO3 version 11 and below.
TypoScript content objects (cObject
) like TEXT
or
HMENU
are registered as services:
services:
# ...
MyCompany\MyPackage\ContentObject\CustomContentObject:
tags:
- name: frontend.contentobject
identifier: 'MY_OBJ'
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘typolinkBuilder’]¶
-
typolinkBuilder
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: array Matches the LinkService implementations for generating URL, link text via typolink
Default value of $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘typolinkBuilder’]¶[ 'page' => \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::class, 'file' => \TYPO3\CMS\Frontend\Typolink\FileOrFolderLinkBuilder::class, 'folder' => \TYPO3\CMS\Frontend\Typolink\FileOrFolderLinkBuilder::class, 'url' => \TYPO3\CMS\Frontend\Typolink\ExternalUrlLinkBuilder::class, 'email' => \TYPO3\CMS\Frontend\Typolink\EmailLinkBuilder::class, 'record' => \TYPO3\CMS\Frontend\Typolink\DatabaseRecordLinkBuilder::class, 'telephone' => \TYPO3\CMS\Frontend\Typolink\TelephoneLinkBuilder::class, 'unknown' => \TYPO3\CMS\Frontend\Typolink\LegacyLinkBuilder::class, ]
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘passwordHashing’]¶
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘passwordHashing’][‘className’]¶
-
className
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘passwordHashing’]
Type: text
Default: \TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash::class
AllowedValues: - ‘TYPO3CMSCoreCryptoPasswordHashingArgon2iPasswordHash’
Good password hash mechanism. Used by default if available.
- ‘TYPO3CMSCoreCryptoPasswordHashingArgon2idPasswordHash’
Good password hash mechanism.
- ‘TYPO3CMSCoreCryptoPasswordHashingBcryptPasswordHash’
Good password hash mechanism.
- ‘TYPO3CMSCoreCryptoPasswordHashingPbkdf2PasswordHash’
Fallback hash mechanism if argon and bcrypt are not available.
- ‘TYPO3CMSCoreCryptoPasswordHashingPhpassPasswordHash’
Fallback hash mechanism if none of the above are available.
$GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘exposeRedirectInformation’]¶
-
exposeRedirectInformation
¶ Path: $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’] Type: bool Default: false If set, redirects executed by TYPO3 publicly expose the page ID in the HTTP header. As this is an internal information about the TYPO3 system, it should only be enabled for debugging purposes.