[drupal-devel] [feature] Allow node modules to override taxonomy listing

leafish_paul drupal-devel at drupal.org
Wed Jul 27 13:04:34 UTC 2005


Issue status update for 
http://drupal.org/node/27418
Post a follow up: 
http://drupal.org/project/comments/add/27418

 Project:      Drupal
 Version:      cvs
 Component:    taxonomy.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Eric Scouten
 Reported by:  Eric Scouten
 Updated by:   leafish_paul
 Status:       patch

Just been trying out this patch, to no avail: patched taxonomy.module,
created an image_render_nodes() function in a test image.module to
override the default output... is there a last step? Eg:


  -function taxonomy_render_nodes($result) {
  +function taxonomy_render_nodes($result, $vid = 0) {


will the $vid now need to be passed to taxonomy_render_nodes() for this
to work?


Apologies if I missed something.




leafish_paul



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

Mon, 25 Jul 2005 05:56:43 +0000 : Eric Scouten

Attachment: http://drupal.org/files/issues/taxonomy_render_nodes_hook.patch (605 bytes)

Attached patch provides a hook that node modules can use to override the
behavior of taxonomy_render_nodes() when displaying terms from a single
vocabulary that applies to only one node type. (i.e. a vocabulary that
applies to images only could be rendered with a gallery page instead of
the standard node teaser formatting.)




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

Tue, 26 Jul 2005 11:42:39 +0000 : leafish_paul

Brilliant! This should achieve whats brought up in this issue:
http://drupal.org/node/23782




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

Wed, 27 Jul 2005 03:37:45 +0000 : Eric Scouten

Attachment: http://drupal.org/files/issues/taxonomy.module_9.patch (1.01 KB)

Sorry... wrong patch format before.







More information about the drupal-devel mailing list