Tuesday 11 May 2004 1:05:18 pm
I'm still finding my legs with eZPublish 3, sorry if this is an easy question, but I can't figure it out, and don't see it mentioned in the forums (and I'm going absolutely batty at this point). I'm trying to create a new datatype, and decided to copy the ezstring type and build from there. I've managed to get it to load, sort of, but it's using the default generic datatype templates to display, instead of the one's I've created in the extension folder. According to debug, eZ isn't even looking in the correct folder, although I've added the appropriate desigin.ini.append file in ./extension/myextension/settings/. I can get the templates to load if I add them into the /design/standard/templates/class/datatype/[edit|view] (which is where eZ is looking right now). Here's the desigin.ini.append file:
[ExtensionSettings]
DesignExtensions[]=myextension
The only thing I can think of is that my extension name and my datatype name are different, but I'm assuming that's OK, because, while the examples have similar names, the generic path names given in the tutorials imply that isn't necessary, and I'm not sure how the extension system would make much sense if you had to have one extension per datatype. Please, somebody keep me from pulling the last of my hair out! :-\
|