Project

General

Profile

Bug #99767

Updated by Sybille Peters almost 2 years ago

This used to be the case with type="inline". Here, the allowed file types were displayed in the form and in the link browser.  

 h2. Reproduce 

 There is an example extension available to reproduce, was tested with v12 latest main: 

 https://github.com/sypets/sypets_example_inputlink 


  



 h2. Versions 

 * used latest v11 (11.5.22) 
 * this can also be reproduced with v12, with type="link" 


 h2. Example 

 <pre><code class="xml"> 
 <settings.link> 
   <TCEforms> 
     <label>Link</label> 
     <config> 
       <type>input</type> 
       <renderType>inputLink</renderType> 
       <fieldControl> 
         <linkPopup> 
           <options> 
             <allowedExtensions>bib</allowedExtensions> 
             <blindLinkFields>class,param,target,title</blindLinkFields> 
             <blindLinkOptions>page,mail,telephone,folder,tx_calendarize_domain_model_event,news</blindLinkOptions> 
             <title>Select specific file (*.bib)</title> 
           </options> 
         </linkPopup> 
       </fieldControl> 
     </config> 
   </TCEforms> 
 </settings.link> 
 </code></pre> 

 Documentation 

 * v11: inputLink: https://docs.typo3.org/m/typo3/reference-tca/11.5/en-us/ColumnsConfig/Type/Input/Link/Index.html#columns-input-rendertype-inputlink 
 * v12: inputLink was deprecated, type="link" should be used: https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Link/Index.html#columns-link

Back