jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Suggestions - Feature Request => Topic started by: miguelbgouveia on 10.03.2016 16:14:26

Title: Trigger the onCategoryChangeState event when publish or unplublish a download
Post by: miguelbgouveia on 10.03.2016 16:14:26
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.
Title: Re: Trigger the onCategoryChangeState event when publish or unplublish a download
Post by: Arno on 17.03.2016 13:48:14
This topic was solved via e-mail.