Default value per node type

FiNeX - September 4, 2007 - 10:18
Project:Private nodes
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:patch (code needs review)
Description

Hi! Should it possible to choose the default value for a specific node type?

#1

FiNeX - October 5, 2007 - 10:00
Status:active» patch (code needs review)

Oh yes, it is possible :-)

Here is the patch for adding this option.

Apply it to the http://ftp.drupal.org/files/projects/private_nodes-5.x-1.x-dev.tar.gz

AttachmentSize
private_nodes.module_1.patch0 bytes

#2

denney - October 10, 2007 - 04:10
Status:patch (code needs review)» active

The patch is blank.

#3

FiNeX - October 10, 2007 - 08:39

Oooopss... thanks denney, I've re-uploaded :-)

P.S: The patch actually set the default value ignoring the buddies status, I've to improve it for managing the buddy list too.

AttachmentSize
private_nodes.module_2.patch0 bytes

#4

FiNeX - October 10, 2007 - 08:42

I've checked it, I've uploaded a valid file, I'm sure, I don't know why the file uploaded is blank.

You can find it here: http://www.finex.org/patch/private_nodes.module.patch

#5

FiNeX - October 10, 2007 - 08:48
Status:active» patch (code needs review)

#6

FiNeX - October 10, 2007 - 08:56

I try to re-upload the file renaming it, maybe there is a problem with the issue manager here on drupal

AttachmentSize
private_nodes-default_value.module.patch1.73 KB

#7

FiNeX - October 11, 2007 - 10:34

This is only a test.

AttachmentSize
private_nodes.module_3.patch15 bytes

#8

FiNeX - October 11, 2007 - 10:35

test 2

AttachmentSize
private_nodes.module_4.patch15 bytes

#9

FiNeX - October 11, 2007 - 10:36

test 3

AttachmentSize
private_nodes.module_5.patch0 bytes

#10

FiNeX - October 22, 2007 - 16:16

The right patch is the comment #6
( http://drupal.org/files/issues/private_nodes-default_value.module.patch )

The other test comments were done for some testing on the drupal issue tracker.

 
 

Drupal is a registered trademark of Dries Buytaert.