filefield support

darekw - March 11, 2008 - 00:43
Project:download_count
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Chill35
Status:active
Description

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.

#1

Chill35 - June 3, 2008 - 21:13
Title:Show hits in node.tpl.php» filefield support
Assigned to:Anonymous» Chill35
Status:active» fixed

The filefield module supports download_count.

#2

Anonymous (not verified) - June 17, 2008 - 21:21
Status:fixed» closed

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

#3

dbetschart - September 1, 2008 - 12:12
Status:closed» 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!

#4

Chill35 - September 3, 2008 - 16:48

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

#5

dbetschart - September 4, 2008 - 14:54

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!

#6

Chill35 - September 4, 2008 - 17:40

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.

#7

livingegg - September 30, 2008 - 22:08

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

 
 

Drupal is a registered trademark of Dries Buytaert.