Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Best Practices during Plugin Development Process

  • riasilva
  • riasilva's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months 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!
The topic has been locked.
  • gabrieljenik
  • gabrieljenik's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
4 years 6 months ago #199879 by gabrieljenik
Replied by gabrieljenik on topic Best Practices during Plugin Development Process
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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 6 months ago #199932 by DenisChenu
Replied by DenisChenu on topic Best Practices during Plugin Development Process

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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose