Allow only certain link types in TYPO3 link wizard


/ Published in: TYPO3
Save to your folder(s)

This example adds a link field to every page's 'Extended' properties tab.

The example shows only the 'Page' and 'External URL' options in the link selection GUI. The contents of blindLinkOptions are the fields that will be hidden in the link wizard. Your options for that list are:

* file
* mail
* page
* folder
* url

Similar to blindLinkOptions, you an set an *allowedExtensions* element in the params array, with a comma-separated list of allowed file extensions. By default, all extensions are allowed.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.