Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Новости TYPO3-разработки (http://forum.typo3.ru/forumdisplay.php?f=20)
-   -   Added feature #6039: Implement file_reference for TCA group type. (http://forum.typo3.ru/showthread.php?t=8285)

Valery Romanchev 11.01.2010 20:57

Added feature #6039: Implement file_reference for TCA group type.
 
Вложений: 1
в 4.3.0 сделано много чего полезного.

Например в TCA можно теперь делать ссылки на файлы, вместо их копирования в /uploads/tx_myext/

PHP код:

        'image' => array (        
            
'exclude' => 0,        
            
'label' => 'LLL:EXT:lab_test/locallang_db.xml:tx_labtest_test.image',        
            
'config' => array (
                
'type' => 'group',
//                'internal_type' => 'file',
                
'internal_type' => 'file_reference',
                
                
'allowed' => '',    
                
'disallowed' => 'php,php3',    
                
'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],    
//                'uploadfolder' => 'uploads/tx_labtest',
                
'show_thumbs' => 1,    
                
'size' => 5,    
                
'minitems' => 0,
                
'maxitems' => 5,
            )
        ), 



Часовой пояс GMT +4, время: 01:17.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot