Category as group key

heedspin - April 22, 2008 - 16:20
Project:RelatedContent
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hey there. I'd like to theme related content using categories. Ideally, my related content template will be able to query the $output param by a vocabulary-term tuple. So my template has knowledge of what vocabulary and terms to ask for, and the $output provides a map to the related nodes for those respective categories. Hope that makes sense.

The use case is a newsletter that has regular, well-defined category sections.

My current plan is the hack the heck out of the related content module. I'm learning drupal and php as I go, so you can imagine how pretty this is going to be! :-)

My initial plea, is for advice on how to hack it.

Building this into the relatedcontent distro would be extra credit. Happy to contribute if I can. Maybe you can give me a suggested design. I'll go prototype it. And then you can decide if it's worthy to be part of the module?

Thanks,
-Tim

#1

Benjamin Melançon - April 25, 2008 - 08:14
Project:Related Content» RelatedContent
Version:<none>» 5.x-1.x-dev

#2

heedspin - May 1, 2008 - 03:09

Just checking back in. I got this working pretty easily. Had to modify a bunch of related content code. If anyone's interested, I'll be happy to send you the code.

-Tim

#3

TBarregren - May 1, 2008 - 15:42

Could you please upload a patch.

 
 

Drupal is a registered trademark of Dries Buytaert.