[development] default settings for new content type

Larry Garfield larry at garfieldtech.com
Mon Jan 5 19:45:55 UTC 2009


variable_set() is the way to do that.  Have a look at the core default.profile for a decent example.

http://cvs.drupal.org/viewvc.py/drupal/drupal/profiles/default/default.profile?view=markup&pathrev=DRUPAL-6

--Larry Garfield

On Mon, 5 Jan 2009 14:13:20 -0500, Aldo Martinez Selleras <aldo at caonao.cu> wrote:
> there is how to define some properties for node type, but i don't see where
> to
> include other parameters, like comment and publish options
> 
> i have seen some place define this with variable_set() function but i'm
> not
> sure if that is the way to do that.
> 
> --
> ----------------------
> Aldo Martinez Selleras
> Administrador del Nodo
> CITMATEL GND Camaguey
> Tel: 32-291661
> E-mail: aldo at caonao.cu
> Linux User #364356



More information about the development mailing list