News:

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

Main Menu
Support-Forum

Trigger the onCategoryChangeState event when publish or unplublish a download

Started by miguelbgouveia, 10.03.2016 16:14:26

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

miguelbgouveia

I'm using jDownloads in a specific project implemented in Joomla that use the smart search component. To use the smart search for the jdownloads documents I had to implement a joomla plugin. The problem is that in jdownload code base I need to add a line of code to trigger the onCategoryChangeState event. This is essential to update the smart search index. There is a place where I can suggest this code change? Is jdownloads open to code changes like open sources projects?

If not there is the line of code to add to the line nº 1133 of the publish function in the category.php file:

// Trigger the OnCategoryChangeState event.
$dispatcher->trigger('onCategoryChangeState', array($context, $pks, $value));

Thanks.
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •