About module "fixing"
- there is nothing to be fixed,
it is a new feature
About file field, about adding different display for category view
- it makes sense to have different display, which could be by duplicating the VIEWING TAB and creating:
Viewing - Category
Here is what to do now:
edit you custom layout for file field
or if you are using the default layout file of file field:
/plugins/flexicontent_fields/file/tmpl/value_InlineBoxes.php
then
1 . edit the above (BUT DO NOT make any other changes to it, they will be over written):
add at the bottom
Code:
$field->hits_total = $hits_total;
2 . Edit the
category Layout of the FLEXIcontent template that you use for the category views
and move the file field into position "Render only"
3. Inside file the category_items(_html5).php
print the total downloads via:
Code:
echo JText::_('LANG_TOTAL_DOWNLOADS') .' '. $item->fields['my_file_field_name']->hits_total;