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

darren.ferguson’s picture

Assigned: Unassigned » darren.ferguson

The 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.

CompShack’s picture

Just confirming that I have the same problem. why would this module be dependent on CCK though?

darren.ferguson’s picture

It 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.

darren.ferguson’s picture

Status: Active » Fixed

This issue has been resolved in the code base and will be on drupal.org once i get the CVS access resolved.

darren.ferguson’s picture

Status: Fixed » Closed (fixed)
darren.ferguson’s picture

Change has been uploaded to drupal.org CVS and will be available in the nightly build for the module