Skip to content
Snippets Groups Projects
Commit 307bd4d9 authored by Benni Mack's avatar Benni Mack Committed by Oliver Bartsch
Browse files

[FEATURE] Add ATagParams option to links of restricted pages

A new TypoScript option is introduced to allow to set
additional tag attributes to links of pages which are
access restricted but link to a login page.

This works globally for a page, but also for HMENUs.

Globally:
  config.typolinkLinkAccessRestrictedPages.ATagParams = class="restricted"

for HMENUs:

  page.10 = HMENU
  page.10.showAccessRestrictedPages = 13
  page.10.showAccessRestrictedPages.ATagParams = class="access-restricted"

Resolves: #19856
Releases: main
Change-Id: I21acdb1ef3290491291acb647c164bcfcee1837f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78165


Tested-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 85641582
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment