Code:
$GLOBALS['TL_DCA']['tl_content']['list']['sorting']['filter'] = array
(
array('type=?', 'text')
);
it show only text element :!:
how add more elements? for example module
Code:
array('type=?', 'text') $ array('type=?', 'module')
OR
Code:
$GLOBALS['TL_DCA']['tl_content']['list']['sorting']['filter'] = array
(
array('protected=?', '')
);
if Protect element- yes , then it this element is not visible 8-)
Code:
$GLOBALS['TL_DCA']['tl_content']['list']['sorting']['filter'] = array
(
array('guests=?', '')
);
if Show to guests only- yes , then it this element is not visible 8-)
Bookmarks