News:

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

Main Menu
Support-Forum

Pre-process smart search results with "onContentPrepare" of Content Plugin

Started by Tom68, 05.06.2025 21:08:51

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tom68

In jD 4.0.47 the results of a smart search are not pre-processed with the function "onContentPrepare" of the Content Plugin. In fact, I did not find any trigger in the code of jD 4.0.47 to accomplish this. As a result, the search results contain unresolved {jd_file} code.

I would highly appreciate, if this missing feature could be added.

Thanks & Regards
Tom
  •  

ColinM

Tom
I have just looked at the code in the jD Content Plugin. At line line 119 there is code
        function onContentPrepare($context, &$article, &$article_params)
It then goes on to check if there are any instances of {jd_file are in the article. If none exist it exits.
Best wishes
Colin
 
Colin M
  •