Forums / Developer / extensions/mymodule/datatypes/ ?!

extensions/mymodule/datatypes/ ?!

Author Message

Selmah Maxim

Wednesday 23 July 2003 6:21:07 am

Now I had moved my datatype to extension\myextension\datatypes\ folder , but when I get error when I watch any artical used 1 of thie datatype, coz is searching it under kernel/classes/datatype !

any idea ?

Selmah Maxim

Wednesday 23 July 2003 6:25:17 am

I think I found it ..
in content.ini 'ExtensionDirectories' I must give myextension !

Can you pls confirm this, or I should make it from myextension settings ?!

why is not take it from settings/override/site.ini ?

Jan Borsodi

Wednesday 23 July 2003 6:53:50 am

You should edit extension/myextension/settings/content.ini.append
and add
[DataTypeSettings]
ExtensionDirectories[]=myextension

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 23 July 2003 6:56:58 am

ohh .. thx alot !

Selmah Maxim

Wednesday 23 July 2003 7:08:25 am

didn`t work .. even if add the datatype name:
AvailableDataTypes[]=ezheader in ext./.../settings/content.ini.append.php !

Selmah Maxim

Wednesday 23 July 2003 7:11:25 am

Found it, and I think this be fixed in the new versions, its didn`t work coz of ExtensionDirectories[] is empty in /settings/override/content.ini, if I put # infor of it then no problem works fine !

I think this mean the code is not looping in the array ,,, or ?!?