0
Hello,

i have a - hopefully - simply problem.
All my attachment titels are the same, because its everytime the same download link title but of course different files. If i want to to see my download stats of these Attachments, they have all the same titel and i cannot see anything.

I need help to change in the statistics view the attachment_title to filename or maybe also possible to change it to attachment title attribute.
I just didnt find the file or the postion where i an change something.

May someone can help me? Would be very nice.

greetings pick
Responses (2)
  • Accepted Answer

    Friday, March 02 2012, 04:39 PM - #Permalink
    0
    I asume you are talkinga bout K2 attachments, right?

    yes, this is easy to change.

    open file /plugins/contentstats/com_k2.php and go to line 458

    there you see this piece of code:

    at.title as item_name

    you just need to change that to this (for title attribute):

    at. titleAttribute as item_name

    or to this (for filename):

    at. filename as item_name
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 02 2012, 05:20 PM - #Permalink
    0
    Thank u very much!

    I will try this when iam back at home. But yes, seems to be easy.

    greetings
    The reply is currently minimized Show
Your Reply