PHP code example of imi / tags-widget
1. Go to this page and download the library: Download imi/tags-widget library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
imi / tags-widget example snippets
// tags field
$GLOBALS['TL_DCA']['tl_table']['fields']['tags'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_table']['tags'],
'exclude' => true,
'inputType' => 'tags',
'options_callback' => array('tl_table','getAllTags')
);