Thursday 12 January 2006 1:48:20 am
Hi all! I'm making a colorpicker-datatype. I've been in trouble from the very beginning. The extension wouldn't register correctly. Debug reported that there was a strange "_space_" in the path to the datatypes directory - "/extensions/colorpicker /datatypes". I changed
eZDataType::register( EZ_DATATYPESTRING_COLORPICKER, "ezcolorpicker" );
to
eZDataType::register( EZ_DATATYPESTRING_COLORPICKER, "ezcolorpickertype" );
and then it worked.. But now comes the next challenge. I can add a colorpicler-attribute to a class, but there is a problem with the templates - they don't show. I read that a missing design.ini.append.php would cause this, but I do have one:
<?php
/*
[ExtensionSettings]
DesignExtensions[]=colorpicker
*/
?>
I'm really excited with designing extesions, but I need to get past the first hirdles. Documentation is limited, so please give me some advice if you have some :-) Felix
Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com
|