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
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
0I 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 -
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »