Forums / Developer / ezColorPicker datatype

ezColorPicker datatype

Author Message

Felix Laate

Thursday 12 January 2006 6:41:32 am

Hi all!

I just released my very first custom datatype. This datatype extends the data_text type and gives a userfriendly way of choosing a color.

It can be found here: http://ez.no/community/contribs/datatypes/ezcolorpicker

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Xavier Langlois

Thursday 25 January 2007 8:51:38 am

Hello

Thanks for this, it's exactly what I needed but I wanted more than one in a class which is not possible actually with your extension. But very easy to do if you need so.

In design/standard/templates/content/datatype/edit/ezcolorpicker.tpl

Replace all "1137067693" by "{$attribute.id}" (without the quotes).
Clear cache, and then you can have as many as you want in a class.

Regards
Xavier Langlois
http://xl714.free.fr

--
There were these two cows, chatting over the fence between their fields.
The first cow said, "I tell you, this mad-cow-disease is really pretty scary. Don't you think ?"
The other cow replies, "Hell, I ain't worried, I'm a duck !"