Forums / General / cache problem with Image gallery
Anders Jonasson
Thursday 10 January 2008 2:56:21 am
Hi! I wonder if someone please could help me with my problem with the Image galley.
The problem is that the priority of images in the imagegallery folder doesn't work until I clear the cache or uploading a new image after I set the priority.When I'm in the full-view for Image in the imagegallery the backward and forward links doesn't work correctly because of the priority problem.
My viewcache.ini,append.php file looks like this.
[folder_image_gallery] DependentClassIdentifier[] DependentClassIdentifier[]=folder_root DependentClassIdentifier[]=folder_toplevel DependentClassIdentifier[]=folder MaxParents=1ClearCacheMethod=clear_object_and_relating_objects_caches
[image] DependentClassIdentifier[] DependentClassIdentifier[]=folder_root DependentClassIdentifier[]=folder_toplevel DependentClassIdentifier[]=folder DependentClassIdentifier[]=folder_image_gallery MaxParents=1 ClearCacheMethod[] ClearCacheMethod[]=parent ClearCacheMethod[]=objectClearCacheMethod[]=siblings
I would be very grateful if someone could help me with this.
/Bisolar.
Łukasz Serwatka
Saturday 26 January 2008 1:49:22 pm
Hi,
Which version of Exponential do you use?
ClearCacheMethod[]=siblings is available since version 3.8:
ezwebin example:
[image] DependentClassIdentifier[]=gallery ClearCacheMethod[]=object ClearCacheMethod[]=parent ClearCacheMethod[]=relating ClearCacheMethod[]=siblings
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog