Best Practices during Plugin Development Process

More
4 days 23 hours ago #199842 by riasilva
Hello everyone.

I am a newbie at LimeSurvey and I'm trying to create a WhatsApp Notification (using Twilio) for version 4.2.4+200520.

To test my development I zip my folder and upload using plugin manager. But I did not know how to check the errors and problems in my code.

Anyone can provide me some tips about how ZIP the files and how check what is going off?

Thank you!

Please Log in to join the conversation.

LimeSurvey Partners
More
4 days 33 minutes ago #199879 by gabrieljenik
Hi !

You have the same debugging methods you use on a regular PHP program:
- X-debug
- Logging
- Echo-ing + die()

I usually use direct event method as to trigger the event quicker and reproduce the situations faster.

Hope it helps!

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .

The following user(s) said Thank You: cdorin

Please Log in to join the conversation.

More
2 days 14 hours ago #199932 by DenisChenu

gabrieljenik wrote: I usually use direct event method as to trigger the event quicker and reproduce the situations faster.

Or beforeSurveyPage for afterSurveyCompleted for example ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now