Project:Public Download Count
Version:6.x-1.0-beta5
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Awesome guys. I've been waiting very patiently for a download counter that integrates with Views. Thank you very much. Just have a quick feature request.

On the Top Download Blocks, is there a way that it can show the Node Title rather than the filename? And also could it possibly link to the URL aliased node URL rather than the non-aliased (node/5) URL. Thanks in advance!

Comments

#1

Here's the patch which will do the things you want for the Top Download blocks.

(1) Show node title instead of file name
(2) Use path alias instead of 'node/X' path (if any)

Could you please test it? I will add (2) to the next release and make (1) optional so that user can select which they want (node title vs file name).

AttachmentSize
pubdlcnt_674418.patch 1.28 KB

#2

Thanks for the fast response. Just finished testing it. (1) Works, however (2) doesn't. Still shows non-aliased URLs.

I also went ahead and patched the module to print the output differently for my needs. I put a break before the output and "Downloaded (0) Times". I think it would also be a nice feature to be able to change the output like I did in a more drupalesque way, but it doesn't hurt the way I did it either.

#3

Title:Top Download Block» Top Download Block Path Alias & Node Title

#4

Title:Top Download Block Path Alias & Node Title» Top Download Block

Thanks for testing the path. I have modified it and tested with my local site and confirmed that it works.
Please give it a try when you have a chance.

Besides, I agree that the custom display settings of counter value would be a nice feature. I will think about this for the next release (either themable or customzable at modules settings).

Thanks,

AttachmentSize
pubdlcnt_674418_rev.patch 1.43 KB

#5

Awesome works perfectly. You are a life saver honestly. Thanks again!

#6

The next beta (beta6) will have the following capabilities.

A) At block settings, user can choose either file name or node tile to be displayed to the top download list
B) Counter value display (currently (X)) is fully themable (in both block and node).

I am planning to release beta6 soon.
Thanks,