pool multilanguage problem

Author Message

Pierre Tissot

Thursday 21 February 2008 12:57:25 am

Hi,

I have install the pool add-on to my multi-language site. The problem is that for one pool in English and the same translated to French the total result et the result it self are not the same.
If you are in English the total result is: the total sum of the votes in English and French. For me it's correct. But when we check the results show in the English sites the total number of votes do not correspond to sum show in the results.

I submit this as a bug, a long time ago, but nothing was said or done. can somebody help me

PiR

André R.

Thursday 21 February 2008 1:53:51 am

There is a view cache issue on the poll templates, specifically:
extensions/ezwebin/design/ezwebin/override/templates/line/poll.tpl

Add this to the second line to make sure the cache is cleared every 15 min (on pages that show a poll 'line'):

{set-block scope=global variable=cache_ttl}900{/set-block}

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Pierre Tissot

Thursday 21 February 2008 6:16:38 am

Hi,

I think it's not a problem of cache (i tried your solution)

The problem is in FRE site we have the pool like this:

What do you think about me?

Super Cool
Trés bon
Les meilleurs

Total des votes 27 - Résultat
Super Cool 100% Votes: 1
Trés bon 0% Votes: 0
Les meilleurs 0% Votes: 0

In ENG site:

What do you think about me?

Super kay
Very Good
The best

27 total votes - Result

Super kay 31% Votes: 8

Very Good 46% Votes: 12

The best 23% Votes: 6

The total sum is ENG + FRE site and the result details are language dependent, is this normal?????

Thx
PiR

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