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

chx drupal-devel at drupal.org
Wed Jun 15 05:27:14 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:   chx
 Status:       patch
 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.




chx



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?







More information about the drupal-devel mailing list