Missing Step 4.5: Don't forget to enable your templates
Joel Hardi
Monday 03 May 2004 11:25:10 pm
This is in the "Building an Exponential module" tutorial, but not here, and it took me a while to figure out. The "edit" and "view" templates you've just added in extension/myextension/design/ need to be enabled by adding a design.ini.append.php file in extension/myextension/settings/. Just open/create the file and make sure it contains:
Otherwise, the custom datatype may not show up on edit forms -- for instance data_text types such as e-mail addresses default to a hidden form field, which obviously isn't any good for data entry!
Missing Step 4.5: Don't forget to enable your templates
Joel Hardi
Monday 03 May 2004 11:25:10 pm
[ExtensionSettings]
DesignExtensions[]=myextension
Otherwise, the custom datatype may not show up on edit forms -- for instance data_text types such as e-mail addresses default to a hidden form field, which obviously isn't any good for data entry!