How to add a custom page in the admin module?

More
5 years 7 months ago #144121 by lintu
Hello Folks,

I have a unique requirement to add an additional custom page in the admin module which will have some data that I am querying from the database and displaying. I want to use the existing LimeSurvey authentication mechanism and some other calls - that is the reason to include this page within the admin module.

Can someone please help me with some pointers and possibly a code snippet on how to accomplish this? Thanks in advance.

P.S. I am aware that this is not a recommended way and may break during future upgrades. But for the time being, I need to add this functionality for my project.
The topic has been locked.
More
5 years 7 months ago #144128 by DenisChenu

lintu wrote: ....
P.S. I am aware that this is not a recommended way and may break during future upgrades. But for the time being, I need to add this functionality for my project.

No, there are a recommended solution : public function actionIndex in a plugin

Look at example : github.com/olleharstedt/MassAction

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 .
I don't answer to private message.
The topic has been locked.
More
5 years 7 months ago - 5 years 7 months ago #144136 by lintu
Denis,

Thanks for your response! I looked at the MassAction plugin, but there is not much documentation with it to figure what it does and what needs to be done.

Also, dropped the unzipped folder into the plugins folder but it does not show up in the admin screen (not detecting it).
Last edit: 5 years 7 months ago by lintu.
The topic has been locked.
More
5 years 7 months ago #144144 by lintu
Quick update: I was able to figure out what I needed to do to have this plugin show up in Plugin Manger. Now, I need to figure out how the menu logic on LimeSurvey is built so that I can add the new section in Admin
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now