Hi, thanks for the module!

I'm using the filefield module with download_count. Is there any way I can show the number of downloads/hits of a file in the node?

There is only one file per node.

Comments

Chill35’s picture

Title: Show hits in node.tpl.php » filefield support
Assigned: Unassigned » Chill35
Status: Active » Fixed

The filefield module supports download_count.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

dbetschart’s picture

Status: Closed (fixed) » Active

i have the same question. the drupal core fileupload module works fine with the download-count module. but now i'm using the filefield module and the download count isn't shown on the node page with the uploaded file from filefield.. here a picture what i'm talking about: http://img67.imageshack.us/img67/8007/filefieldva7.jpg
how can i do this?

thanks!

Chill35’s picture

How about you override the theming function that outputs the filefield info...?

dbetschart’s picture

i've just started with drupal, could you please explain your solution a bit more? how do i override the theming function that outputs the filefield info?
thank you very much in advance!

Chill35’s picture

I am sorry. Right now, I do not have time to explain theming :-(

Maybe a good start would be for you to read Drupal's Theming guide or the Drupal 5 Themes book (http://www.packtpub.com/drupal-5-themes/book).

Alternatively, contact the maintainer of the filefield module. Maybe he or she can help.

In my module I am altering how the core upload module displays its own themable table, no more than that.

livingegg’s picture

According to the filefield maintainers, download_count is not supported. And I can not find any evidence that any such intentions exist.

http://drupal.org/node/304148

WorldFallz’s picture

Status: Active » Closed (won't fix)

closing due to new maintainer and an unsupported version. A new 6.x-2.x version (which includes this feature) is forthcoming, please open new issues against that version when available if necessary.