Looking at the contento.mysql file I see a "has_title" and "has_body" columns, but looking into the code, there doesn't seem to be any way to set or use those. I suppose this was a future-planned feature.

As I need a "simple content type" that has a title and body, but for which the body is not required (coz the type is extended using other modules), I would want to be able to set it, eg:
0 => Title required
1 => Title enabled, but not required
2 => Title disabled
And store this in "has_title" (the same for has_body).

Was this the purpose? If you want, I can provide a patch in the course of next weekend/week.

I know I can use a hook_form_alter() in a seperated module to unset the "#required => TRUE", but it seems the feature was planned, so why not do it. If you agree of course.

Comments

jose reyero’s picture

Status: Active » Closed (won't fix)

This intends to be a very simple module.
If you need more features better try flexinode or cck.