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

The jDownloads Content Plugin does not work - [Fixed in 3.2.42]

Started by romagromov, 14.02.2016 13:22:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

Hi!

I have enabled jDownloads Content Plugin in Plugins Manager



I have enabled plugin in Jdownloads settings



I have activate Joomla plugins setting in Jodowloads configuration

 

But it does not work...



What am I doing wrong?
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

#1
Hi
Do you have a Category with id of 15?  If Yes does it have any Downloads?
In the category does no exist or it has no download then nothing will show.

Colin
Colin M
  •  

romagromov

Yes, I have files in category.
But I think that plugin does not work. It should be empty or displays files - but it displays plugin placeholder...
What else I can check?
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Hi Romagromov,
I have just double checked the jD Content plugin and it works fine for me.
Are you using it in an Article or in a jD Download Description?
I replicated your setup exactly.

Colin
Colin M
  •  

romagromov

Thank for for the answer Collin.

I checked plugin in K2 Component and yes - it works.

When I use this placeholder

{jd_file file==506} - works fine

{jd_file latest==5} - works fine

{jd_file cat_hotest==3,4,7,8 count==5} - empty space

{jd_file cat_latest==3,4,7,8 count==5} - works fine

{jd_file cat_updated==3,4,7,8 count==5} - empty space



I need to display exactly {jd_file cat_hotest==3,4,7,8 count==5}

Second question.

I need to use this placeholder in Category Layout or in Category template.

How I can make this layout to be proccesed?

My idea is to display hottest download right in subcateories.




Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Ok
I will check out the Hotest version.
Think this might be confused with the Top or Hottest!!
Also please test the Top module. An alternative might be using the NoNumber 'Modules Anywhere' with the Top module.

Colin
Colin M
  •  

romagromov

Quote from: ColinM on 15.02.2016 11:26:39
Ok
I will check out the Hotest version.
Think this might be confused with the Top or Hottest!!
Also please test the Top module. An alternative might be using the NoNumber 'Modules Anywhere' with the Top module.
Colin

Yes, Top module can be used for this. But This Module does not have option "Follow Category".
So, I need create ±95 Top Modules.

In this situation, correctly to use a plugin right in Category Template file with this code:


{jd_file cat_hottest=='.$this->category->id.' count==5}

It is simple and effective :)

But first, we need to get working options - cat_hottest and cat_updated.
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

#7
Hi
I need to know if the Top module works on your site - I am not suggesting you use it but to verify the Content plugin I need to know that Top module works as they use similar code.  Top module is AOK on my test site.

Colin
EDIT  I have checked and it should be hottest NOT hotest.  Have corrected documentation and expect plugin internal doc to be fixed in next release.
C
Colin M
  •  

romagromov

#8
Quote from: ColinM on 15.02.2016 15:02:29
Hi
I need to know if the Top module works on your site - I am not suggesting you use it but to verify the Content plugin I need to know that Top module works as they use similar code.  Top module is AOK on my test site.

Colin

Top Module works fine.

PS

Sorry, now  {jd_file cat_hotest==12,13,3 count==5} works fine too... Magic  :o

Thanks!


PS May be it will be useful for other users:

You can insert plugin right in template  /components/com_jdownloads/category/default.php

or copy this file to

/templates/your-template/html/com_jdownloads/category/default.php

Use this variable to insert plugin in subcategories:

$topdownloads = '{jd_file cat_hottest=='.$this->children[$parentCatid][$i]->id.' count==8}';[code]


Best free windows software for your PC at bestwinsoft.com
  •  

Arno

QuoteEDIT  I have checked and it should be hottest NOT hotest.  Have corrected documentation and expect plugin internal doc to be fixed in next release.
Is fixed in 3.2.42.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •