I'm tasked with developing a way to customize the publicly visible results of a survey (the "statistics_user" page one can see after completion).
I'm thinking of different ways to do this:
- monkey patching the actual page on load, but I can't find an event associated with its loading
- creating an entirely new view (probably better), but I haven't figured how to do that. I haven't found a way to create a user view (the newDirectRequest event is only triggered from the admin area, as far as I can tell). Is it doable with the current plugin system? I'm using the 3.x LTS version for now.
- monkey patching the actual page on load, but I can't find an event associated with its loading
beforeControllerAction
can be used for this.
Sample usage (for stat replacement)
extendAdminStatitistics - creating an entirely new view (probably better), but I haven't figured how to do that
admin/pluginhelper usage
you create a page inside admin with (or without survey id).
newDirectRequest
can be used oiut of admin area, but you have to construct whole page by yourself. I 3.X : you can
use template more easily
.
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.
I'm really happy to see your plugin published with a free licence.
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.