The module should work on categories as well as node content types.

Here is a patch to make to make that happen.

This patch will allow you to put the tags on any of the taxonomy terms, as well any node content type.

Cheers!

Barry.

CommentFileSizeAuthor
service_links.diff.txt2.93 KBginge

Comments

frjo’s picture

Looks like a nice and clean patch but I'm unsure how many will find it useful, I don't need it myself.

If other would find this useful add your +1 vote below.

coreb’s picture

Title: patch 4 category support » patch adding category support

As for a vote, 0 (neither in favor or against). But I agree that I don't see much use in submitting an entire category to one of these services. But I don't think I understand everything about the patch.

Changed title to use proper english...

coreb’s picture

Title: patch adding category support » patch to display service_links only for certain categories of nodes

After writing another similar feature request, I checked back and realized what your patch really does. It lets you specify which categories should have the service_links included.

For others, here is an example: The posts on my site in the "personal/life" category probably don't need to be on Digg. But the ones in my "howto" or "php articles" category would be good candidates to have the service_links.

Sorry about the previous misunderstanding post, and in short:

+1

ginge’s picture

You are indeed correct on the functionality of the patch. I apologise for a half arsed description in the first place.

In Summary, the patch will allow for the links to appear in either a node type on a taxonomy term. I didn't need the service links appearing on all of my random pages (i.e the taxonomy aggregator pages) and my blog pages. I figured I needed a way of displaying the service links on categories.

As I opted to use only categories, and not nodes, my admin panel it now looks like this.

<strong>Node types</strong>
Set the node types you want to display links for.
<strong>Types: </strong>
[  ] blog entry 
[  ] page 
[  ] story 
<strong>What category to show up in
Types: </strong>
[X] Hacking 
[X] Hardware Mods 
[  ] Robotics 
[  ] Blog
What bookmark links to show
[X] Show del.icio.us link 
[  ] Show Digg link
...

I am thinking of extending my site to use trees of categories, so I can display different types of grouped service links on certain taxonomy types. If there is sufficient interest I will persue this, and create a patch.

Barry

frjo’s picture

Status: Active » Needs work

This is starting to look useful for me so I probably will add it soon.

frjo’s picture

Version: 4.7.x-1.x-dev » master
Status: Needs work » Fixed

A version of this patch has been committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)