Project

General

Profile

Actions

Feature #32996

closed

TCEMAIN.clearCache_pageGrandParent for records

Added by Urs Weiss over 12 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2012-01-05
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

I have several sysfolders where i wanted to clear the page cache automatically for the parent page of the sysfolder if i edited a record within the sysfolder.

In the docs i found the option "TCEMAIN.clearCache_pageGrandParent" which almost did what i want. Unfortunately it only works if a page was edited, but not if a record was edited. So i extended the clear_cache() function to also work with page records (see attached diff).

I took the same name that was used for the pages. Wasn't sure if an separate option would be better.

Thanks
Urs


Files

feature_clearPageCache.diff (1.35 KB) feature_clearPageCache.diff Urs Weiss, 2012-01-05 15:28

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #51051: DataHandler::clear_cache() does not consider workspacesClosedOliver Hader2013-08-13

Actions
Related to TYPO3 Core - Bug #75294: TCEMAIN.clearCache_pageGrandParent = 1 does not workClosed2016-03-29

Actions
Actions

Also available in: Atom PDF