Issue Feature Closed

#32996TCEMAIN.clearCache_pageGrandParent for records

Urs Weiss 01/05/12, 15:28 updated 03/17/20, 13:52

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.