Fetching Enum Value

Author Message

Mahesh Arvind

Sunday 11 January 2004 9:41:15 pm

Hi,

I need to fetch the value of an enum field. I am using the following code

{attribute_view_gui attribute=$:item.data_map.resource_type)}

This code produces the output

( 'contentclass_attribute' );Bible Study

I need to fetch only the value "Bible Study"

Does anyone have any idea as to how to do this?

Thanks.

Mahesh

Thanks & Regards
Mahesh

Mahesh Arvind

Sunday 11 January 2004 9:59:44 pm

Hi,

I got it. Actually I had made a mistakenly put( 'contentclass_attribute' ); before the code.

Thanks.

Thanks & Regards
Mahesh

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