Configuration Reference¶
Backend user configuration¶
Give your backend users / user groups permission to the "Check Links" (web_brofix) module.
Give backend users / user groups permission to the table tx_brofix_exclude_link_target, if they should be able to add URLs to the list of URLs not to be checked. (This requires a certain amount of prudence and understanding, otherwise this feature may be misused.)
In this case, you must also set TSconfig excludeLinkTarget.storagePid to a page of type system folder. The editors must have access to this page (to be able to save records on this page).
Global Configuration¶
The global configuration affects not just brofix but the behaviour of other extensions as well.
If mod.brofix.mail.sendOnCheckLinks is 1, an email will be sent. You can override this in the console command. If an email should be sent, you should configure the recipient and sender address.
You can configure the following settings to set the from address globally (or you can set it specifically for brofix via TSconfig):
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'] = 'Webmaster';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] = 'webmaster@example.org';
This determines whether an html mail is sent, a text mail or both:
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['format'] = 'both';
The template path is already added in this extension in ext_localconf.php
,
but only if the slot 901 is still free:
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][901]
= 'EXT:brofix/Resources/Private/Templates/Email';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['partialRootPaths'][901]
= 'EXT:brofix/Resources/Private/Partials';
If not, you need to set this yourself, if a mail should be submitted when link checking is performed, using the default template in this extension.
Extension configuration¶
EXT:backend | loginLogo: Logo ...
Set the logo used in the Fluid email in the EXT:backend extension configuration:
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['backend']['login.loginLogo'] = 'EXT:my_theme/Resources/Public/Images/login-logo.png or //domain.tld/login-logo.png';
EXT:brofix | traverseMaxNumberOfPagesInBackend: Maximum number of pages to traverse in Backend ...
Set the maximum number of pages traversed in the backend module. This should be limited so that loading the broken link list in the backend does not feel sluggish and slow. A good rule of thumb is to always keep the time required to load a page in the Backend always under 1 second. Depending on the performance of your site, you should use a limit such as 1000 (thousand).
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['brofix']['traverseMaxNumberOfPagesInBackend'] = 1000;
Note
Remember that even though pagination is applied, Broken Link Fixer will always traverse through all subpages of the current page (unless the level is restricted in the form). The traversing of the pages is not cached and may cause considerable delays.
Tsconfig¶
Is handled on separate page: TSconfig Reference.