Forums / Extensions / eZ Flow / Viewcache problems with custom classes

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Viewcache problems with custom classes

Author Message

Kostadinka Ignatieva

Monday 10 August 2009 4:21:18 am

Hi again, eZ Flow team!

For clearing the view cache of 'frontpage' objects, I am using rules like this:

[article]
AdditionalObjectIDs[]
AdditionalObjectIDs[]=XXX

and they are working ok. But I have a problem with view cache of objects of other custom classes that use the 'Layout' content class attribute. Even if I put their objectIDs in settings, their view cache is not cleared. I tried many kinds of viewcache rules like:

DependentClassIdentifier[]
DependentClassIdentifier[]=frontpage
DependentClassIdentifier[]=custom_class
ClearCacheMethod[]
ClearCacheMethod[]=object
ClearCacheMethod[]=parent
ClearCacheMethod[]=relating
AdditionalObjectIDs[]

but nothing works. The only way is to set cache_ttl to some value in the full view template of the 'custom_class'.

I want to ask if anybody had a similar problem and how it can be solved with viewcache rules.

Thanks in advance!

Iguana IT - http://www.iguanait.com