Bug #22412 » 14052_v2.diff
typo3/sysext/cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php (Arbeitskopie) | ||
---|---|---|
switch ($updatedFieldName) {
|
||
case 'pid':
|
||
// page moved
|
||
$actions['allParents'] = true;
|
||
$actions['uidInTreelist'] = true;
|
||
break;
|
||
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['disabled']:
|
||
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['fe_group']:
|
||
// page hidden / unhidden
|
||
case $GLOBALS['TCA']['pages']['ctrl']['delete']:
|
||
case 'extendToSubpages':
|
||
case 'php_tree_stop':
|
||
// page hidden / unhidden / deleted / extendToSubpages set
|
||
// php_tree_stop and/or FE groups set
|
||
$actions['uidInTreelist'] = true;
|
||
break;
|
||
// page deleted / undeleted
|
||
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['starttime']:
|
||
/*
|
||
start time set/unset
|
||
... | ... | |
treelist. When unsetting the start time it must
|
||
become listed in the tree list again.
|
||
*/
|
||
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['fe_group']:
|
||
// changes to FE user group
|
||
case 'extendToSubpages':
|
||
// extendToSubpages set (apply FE access restrictions to subpages)
|
||
case 'php_tree_stop':
|
||
// php_tree_stop
|
||
$actions['allParents'] = true;
|
||
$actions['uidInTreelist'] = true;
|
||
break;
|
||
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['endtime']:
|
- « Previous
- 1
- 2
- Next »