how to get value of Enum (not name)?

Author Message

Vytautas Germanavičius

Friday 19 August 2005 3:59:26 am

I know Enum is deprecated, but i could not find any other way to do following:

I need to know users zodiac, and i made:

Choose your zodiac:
Option name: Vė¸ys(Cancer)
Option value: images/zodiac-cancer.gif

Problem, that i can get only word "Vė¸ys(Cancer)", but no way to get name of image.
With english it's no problem, but in lithuanian zodiac names has utf-8 symbols, which i cannot(and do not want because of translations) use for filenames.

{set-block scope=root variable=cache_ttl}0{/set-block}

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