Hi,
If someone is interested, I have made a little hack of Jdownloads v3.9 in order to filter your downloads by tags directly from Jdownloads.
OPEN : /components/com_jdownloads/models/downloads.php
Look for this line :
$query->from('#__jdownloads_files AS a');
Add this code just after :
if(isset($_GET['tag']) && !empty($_GET['tag'])){
$query->join('INNER', '#__contentitem_tag_map AS t on a.id = t.content_item_id');
$query->where('(t.tag_id = '.(int)$_GET['tag'].') AND (t.type_alias = \'com_jdownloads.download\')');
}
How it works ? From the '
All Downloads' page, append this argument tag= to your URL
Example :
www.exemple.com/downloads/all/?tag=5 (where 5 is your Joomla tag ID).
Now you can create a button link with your favorites tags in your Jdownloads layout.