Hello!
I've inherited a customized Limesurvey website. It's quite old, around 2.06, and we're going to upgrade it to 4.x
The original developers added models and controllers by placing PHP files directly in corresponding directories, like application/model
Can plugins/extensions add models / controllers etc?
Is there a documented / proper way to do so?
Experienced Drupal developer, pretty new to LS extension development. Want to make all the customs be in extensions, for easier upgrading.
Thanks in advance!
Maybe you can create one and adding it via config.php file ?
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.
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.
wrt 4.x stability .. I'm not scared. I'll put in some PRs for ya. That being said, what's not stable about it? Known issues or things to watch out for?
There are many open bugs that can be showstoppers, depending on your survey. At the moment I would not recommend to use LS 4.x in production.
However, if you are still in development phase and have a couple of months until you are going into production, you might want to go with LS 4.x rather than LS 3.x LTS. Once LS 4.x is finally stable, LS 3.x LTS will probably run out of support (LS usually is not keeping older versions alive for a long period, like Drupal).
So the decision depends a little bit on your timeframe. I would not expect LS 4.x to be ready for production in 2020. I'd rather guess that it might be end of first quarter, beginning of second quarter 2021. I might be pessimistic though.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- Expression Manager event (create new function, add variables …)
- Pseudo crypt system (pseudo because crypt Y and N with the same key on all surey … you have way to find key easily if you get the DB).
You have to use 4.X
Else : your plugin work near same in 4.X and 3.X, just need a config.json for 4.X
Then : for plugin dev : it's easiest in 3.X, because if you have a bug : you can be sure it come from your plugin, not from core …
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.