[development] default settings for new content type
Jim Taylor
jim at rootyhollow.com
Mon Jan 5 18:12:28 UTC 2009
If by with php code you mean in a module, you need hook_node_info
http://api.drupal.org/api/function/hook_node_info/6
On Mon, Jan 5, 2009 at 12:54 PM, Aldo Martinez Selleras <aldo at caonao.cu>wrote:
> how to setup the default options, like disable comment, promoted to
> frontpage?
>
> i mean, with a content type created by me, from php code.
>
> --
> ----------------------
> Aldo Martinez Selleras
> Administrador del Nodo
> CITMATEL GND Camaguey
> Tel: 32-291661
> E-mail: aldo at caonao.cu
> Linux User #364356
>
--
Jim Taylor
Rooty Hollow LLC, Owner
jim at rootyhollow.com
www.rootyhollow.com
(614) 886-5530
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20090105/eae1e54e/attachment.htm
More information about the development
mailing list