Project

General

Profile

Bug #92752

Updated by Philipp Kitzberger over 2 years ago

i configured the linkbrowser for tx_news 8.5 with 

 page.ts #page.ts 
 <pre> 
 TCEMAIN.linkHandler.tx_news { 
    handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler 
    label = News 
    configuration { 
       table = tx_news_domain_model_news 
       storagePid = 41 
       hidePageTree = 0 
    } 
    scanAfter = page 
 } 
 </pre> 
 

 # and ts-setup 
 <pre> 
 config.recordLinks.tx_news { 
    typolink { 
       parameter = 42 
       additionalParams.data = field:uid 
       additionalParams.wrap = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]=| 
       useCacheHash = 1  
    } 
 } 
 </pre> 
 


 the linkbrowser don't show the page-css-class (in the select-dropdown) and title in the news-tab. all other classes (url, file, mail) are selectable. 

 
 my rte configuration  
 <pre> 
 RTE.default.classesAnchor { 
	 page { 
		 class = internal-link 
		 type = page 
		 titleText = öffnet internen Link 
	 } 	
 } 

 RTE.default.buttons.link.page.properties.class.default = internal-link 
 </pre> 



Back