Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.



Sets the user preferences each view mode depends on.





Sometimes you have conditions based on user preferences in the templates of cached view modes. eZ publish needs to know the preferences you use per view mode in order to make sure that the caches are correct. You should use this setting if at least one of your templates (including override templates) use a condition based on a user preference.

A typical symptom of a missing CachedViewPreferences setting is if you change a preference setting and the interface is not updated until you clear the cache. Refer to "Configuring the view cache" for more information.

Note: As of eZ Publish 4.3 the setting in the admin siteaccess is disabled by default in the Administration Interface. In order to use the Preview tab, you first have to enable it in the right menu. This does not apply to eZ Publish 4.4+.



This example shows a site where at least one of the templates of the "full" view mode uses the mysetting and myothersetting.


This example shows the default setting in the admin siteaccess in eZ Publish 4.3.


If you want to install eZ Publish 4.3 with the old admin design, you have to use the above viewcache setting in the admin siteaccess.

Frederik Holljen (22/04/2005 2:47 pm)

Geir Arne Waaler (27/08/2010 2:37 pm)

Svitlana Shatokhina, Julia Shymova, Geir Arne Waaler


There are no comments.