jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: romagromov on 22.01.2015 15:18:44

Title: {cat_id} macros ??
Post by: romagromov on 22.01.2015 15:18:44
I found this topic http://www.jdownloads.com/forum/index.php?topic=6930.msg26941#msg26941

and it have label [Fixed in 3.2.6]

but {cat_id} macros don't work.

On frontend I can see only macros {cat_id} - not real cat_id...

Update: it works only in file details, but it don't work in categories lists.
Title: Re: {cat_id} macros ??
Post by: romagromov on 22.01.2015 15:35:19
I found solution.

Need to add new line to /components/com_jdownloads/views/categories/tmpl/default.php

$html_cat = str_replace('{cat_id}', $cats[$i]->id, $html_cat);
Title: Re: {cat_id} macros ??
Post by: Arno on 25.01.2015 16:14:04
Okay. I will check this.