News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

{cat_id} macros ??

Started by romagromov, 22.01.2015 15:18:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

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.
Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

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);
Best free windows software for your PC at bestwinsoft.com
  •  

Arno

Okay. I will check this.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •