Actions
Feature #32996
closedTCEMAIN.clearCache_pageGrandParent for records
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
Actions