Reading a matrix attribute

Author Message

Sébastien Antoniotti

Tuesday 25 September 2007 9:47:04 am

Hi,

I'm using a matrix attribute who is configured like this :

column1 : key
column2 : lang
column3 : value

So I have this structure :

<b>key | value | desc</b>
-------------------------------
key1 | fr | value1
key1 | en | value2
key1 | it | value3

And I'm looking for a way to directely access lines of my matrix by exemple by using

{set $theValue = $myMatrix['key1']['fr']}

Is it possible ?

Thanks for your help !

eZ Publish Freelance
web : http://www.webaxis.fr

Sébastien Antoniotti

Wednesday 26 September 2007 2:43:02 am

The solution I found was to develop my own template operator.

eZ Publish Freelance
web : http://www.webaxis.fr

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