Forums / General / Selection Datatype change value

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Selection Datatype change value

Author Message

Nayef Abu Ebaid

Thursday 07 December 2006 1:50:46 am

Hi all,

I need to add a drop down menu to my Article class, so I used the selection datatype but the problem is that I want to assign a value to the selection, i need my custom values not the default one. how can i do that?

help please thanks a lot

Nayef

Nabil Alimi

Thursday 07 December 2006 12:02:46 pm

Hi Nayef,

You need to add an override on the datatype in this particular case.

You'll have to override <b>content/datatype/ezselection.tpl</b>. Take a look here for further informations : http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_override_conditions

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr