module_result for a specific attribute

module_result for a specific attribute

Thursday 18 October 2007 8:31:10 am - 2 replies

Author Message

Damien Pobel

Thursday 18 October 2007 11:00:43 am

Hi Pierre,

You have 2 solutions :
1. insert a {set-block scope=rot variable=cache_ttl}0{/set-block} to disable ViewCache in view templates and then put a cache-block instead. cache-block performs less than ViewCache but it's better than no cache at all
2. ViewCache is based on user's roles. Same roles give same cache file so if you change role for some users, they will get another cache file. Perhaps it's not possible in your case.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Ɓukasz Serwatka

Friday 19 October 2007 7:43:38 am

You did not write in details about functionality you need, but looks it should be possible to use ezpreference() which works fine with view cache enabled.

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/data_and_information_extraction/ezpreference

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.