If by with php code you mean in a module, you need hook_node_info<br><br><a href="http://api.drupal.org/api/function/hook_node_info/6">http://api.drupal.org/api/function/hook_node_info/6</a><br><br><div class="gmail_quote">
On Mon, Jan 5, 2009 at 12:54 PM, Aldo Martinez Selleras <span dir="ltr"><<a href="mailto:aldo@caonao.cu">aldo@caonao.cu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
how to setup the default options, like disable comment, promoted to frontpage?<br>
<br>
i mean, with a content type created by me, from php code.<br>
<font color="#888888"><br>
--<br>
----------------------<br>
Aldo Martinez Selleras<br>
Administrador del Nodo<br>
CITMATEL GND Camaguey<br>
Tel: 32-291661<br>
E-mail: <a href="mailto:aldo@caonao.cu">aldo@caonao.cu</a><br>
Linux User #364356<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Jim Taylor<br>Rooty Hollow LLC, Owner<br><a href="mailto:jim@rootyhollow.com">jim@rootyhollow.com</a><br><a href="http://www.rootyhollow.com">www.rootyhollow.com</a><br>
(614) 886-5530<br>