The module seems to install without error, and I can get to the configuration screens and set permissions. However, I see no "Save as Draft" in a content editing screen, and if I attempt to access admin/content/node-type/*, I see the following:
Fatal error: Call to undefined function content_types() in [drupal home]\sites\all\modules\draft\draft.module on line 532
Any suggestions for a cure?
Comments
Comment #1
darren.ferguson commentedThe issue is i put in a dependency for the cck module by the looks of it so it is failing.
I will have to either add this as a dependency or do module exists and check functionality for the type.
I will fix in the nightly build once i get my CVS access fixed. For now an easy fix would be to install the CCK module.
Comment #2
CompShack commentedJust confirming that I have the same problem. why would this module be dependent on CCK though?
Comment #3
darren.ferguson commentedIt currently is because i made an oversight making the assumption everyone would be utilizing CCK. My fault on that
Will be updating the module with the fix for this.
Reasoning behind was to allow the user to choose the field they wished as the title and the field they wished as the body since when people create their own content types they might not have a field title or field body hence the decision to use the CCK module to get the fields for the type.
Will be applying the fix for this hopefully today if the CVS gets fixed i apparently tagged when i should have branched.
Fix right now is install the content module from cck and it will work.
Comment #4
darren.ferguson commentedThis issue has been resolved in the code base and will be on drupal.org once i get the CVS access resolved.
Comment #5
darren.ferguson commentedComment #6
darren.ferguson commentedChange has been uploaded to drupal.org CVS and will be available in the nightly build for the module