Project

General

Profile

Bug #83056

Updated by Markus Klein about 4 years ago

Configure this page TSconfig: 
 @TCEMAIN.linkHandler.page.configuration.pageIdSelector.enabled = 1@ 

 As backend-user: 

 # 
 -> Add new Content to a page 
 # -> Select "Regular Text Element" 
 # -> In the "General" tab, next to the "Link" field, click on the link symbol to open the link browser 
 # The input field for entering the page UID is not shown 

 -> In the PageLinkHandler::modifyLinkAttributes(..) method the link browser uses the "default" configuration (the AbstractLinkBrowserController::getConfiguration() method is called) which is just an empty array that cannot be overwritten. Thus the pageIdSelector property can not be set. 

 Expected Behaviour: 
 -> Link browser loads its configuration, which is then checked in the PageLinkHandler::modifyLinkAttributes(..) method. This allows setting of the "pageIdSelector.enabled" property for the link browser. (Note that the link browser when opened from the RTE editor does load a configuration, which allows enabling of the pageIdSelector)

Back