-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
is::feature requestNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
- Broken links are displayed even though they are in content elements in hidden container elements (or gridelemens).
- Also, links in content elements are checked if the content element is in an invalid colpos (this is detected by TYPO3 and "Unused elements detected on this page" displayed in page mode in BE)
- if element is in connected mode and element in original language is disabled, this will also not be displayed in FE
- if pages.l18n_cfg has "Hide default language of page" set, elements in default lang should not be checked (this is already handled but we should check and make sure there are tests)
In any case, links should not be checked if they are not visible in the rendered Frontend page (unless "checkhidden") is enabled.
Describe the solution you'd like
Unless the page TSconfig option mod.brofix.checkhidden is on, links in hidden elements should not be checked. This includes elements in containers such as via EXT:container or EXT:gridelements.
How to implement
... tbd
- TYPO3 BackendLayoutRenderer::drawContent() displays the message with title staleUnusedElementsWarningTitle, it calls ContentFetcher::getUnusedRecords() which uses the TYPO3 event IsContentUsedOnPageLayoutEvent to check if content is used. The EXT:container extension listens to this event. BUT, the element is added as not visible if in wrong colpos (for example), but not if container is hidden!
- Also, if elements are nested, this will currently be insufficient via the event
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
is::feature requestNew feature or requestNew feature or request