[drupal-devel] [feature] Use any node type not just modulename-number

killes drupal-devel at drupal.org
Wed Jun 15 11:18:30 UTC 2005


Issue status update for http://drupal.org/node/25031

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  chx
 Reported by:  chx
 Updated by:   killes at www.drop.org
 Status:       patch

+1


removes more code than it adds.




killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

June 15, 2005 - 01:23 : chx

Attachment: http://drupal.org/files/issues/nodelistreverse.patch (1.45 KB)

Sometimes it comes handy to have the name of the module that defined a
node type. I modified a bit node_list so this is possible.




------------------------------------------------------------------------

June 15, 2005 - 01:26 : chx

Attachment: http://drupal.org/files/issues/nodelistreverse_0.patch (1.16 KB)




------------------------------------------------------------------------

June 15, 2005 - 05:13 : moshe weitzman

perhaps you missed the already existing node_get_module_name() function?




------------------------------------------------------------------------

June 15, 2005 - 07:27 : chx

Attachment: http://drupal.org/files/issues/nodelistreverse_1.patch (2.19 KB)

oh. I did. But then again, it artificially constrained the node types to
modulename-number. I have not really known about this contraint, and
see, it now serves as a good example of my patch.







More information about the drupal-devel mailing list