AnsweredAssumed Answered

Custom Modifier

Question asked by Janin Dancause on Jun 19, 2018

I have created a custom smarty modifier to allow to add picture into PDF. On my local everything is working fin, i have use the sugar exemple custom modifier. I have also create another modifier to get file from the module document who are associate to a quote. 

 

 

But the problem is, It seem not to work into ondemand. 

I’m sorry, however I am unable to really dig into why this isn’t working. I can tell you that the error indicates that the function you are using is not allowed in Sugar:

[plugin] (secure mode) modifier 'tmp_image_path' is not allowed (core.load_plugins.php, line 143)

 

Has someone have succeed to make it work on an instance ondemande.

Outcomes