Hy all,
I need help.
Can i somehow get mulitple articles?
With article dca field i can select only one article?
Can i somehow make it get multiple?
Hy all,
I need help.
Can i somehow get mulitple articles?
With article dca field i can select only one article?
Can i somehow make it get multiple?
Sure, should be possible:(not tested)PHP Code:
$GLOBALS['TL_DCA']['tl_content']['fields']['multiArticles'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_news']['multiArticles'],
'exclude' => true,
'inputType' => 'select',
'options_callback' => array('tl_content', 'getArticleAlias'),
'eval' => array('multiple'=>true, 'chosen'=>true, 'tl_class'=>'clr'),
'sql' => "blob NULL"
);
Bookmarks