News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

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!
  •