[development] enforce a node preview

Dries Knapen dries.knapen at versateladsl.be
Sun Jan 8 13:27:01 UTC 2006


> I might be missing something. But I find no way to enforce a  
> preview on a
> node/add or node/xxx/edit.
> The only place where I see this used is in project.module, but that  
> one abuses
> the validation errors, which I don't like. It shows an error, when  
> there is
> no error at all.
>
> Is there another trick to enforce previews?

The 'preview required' setting at administer->settings->posts was  
broken, but this was fixed a few days ago.

See http://drupal.org/node/35770 and node_form_add_preview() in  
node.module.

Is this what you were looking for?


More information about the development mailing list