Hi,
I don't know if this is a feature request or a support request.
At the moment the Karma number and its background image don't link anywhere. I thought it would be an extra sweet little feature if that Karma score and it's background image would actually link to the full node on our drigg sites. (Check out how it works on www.Digg.com)
This would be especially useful now that we have an External Voting Button - the EVB is displayed externally, but there is no direct way for the end users to jump to that article's node on the myDrigg.com site
If you don't want to adopt it as a standard, I think this could be achieved by inserting a few simple lines in the template file. Would you be so kind as to provide those function lines and link codes?
Thanks
Comments
Comment #1
mercmobily commentedHi,
To do this, in Drupal 6, you will need to write your own template. For example you will need to create a template file for the form theme_extra_voting_forms_4 ...
If you are talking about nodes, you will just change that:
'.$karma_score_display.'
Into:
.l( $karma_score_display, 'node/$o->sk_id' )
Note that if you are talking about comments, the link will be very different. So, watch out -- the link will be broken for comments. So the code should be something like:
. $o->sk_type == 'n' ? .l( $karma_score_display, 'node/$o->sk_id' ) : $karma_score_display .
I am sure this makes sense to you.
Happy hacking :D
Merc.
Comment #2
mercmobily commented