- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to create modules In LS3 for custom Screens.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
2 years 1 month ago - 2 years 1 month ago #226279
by Hiccup
How to create modules In LS3 for custom Screens. was created by Hiccup
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Version 3.26.2+210503
Own server or LimeSurvey hosting: Own server
==================
Hi, everyone.
I m new in ls3 and I want to create custom screens using modules.
we tried some Demo Modules of LS 4.40 but that's will be not working in ls3.
while we run our module demo that will be reload the screen and display survey listing screen in ls3.
tried Demo Module URL: github.com/LimeSurvey/LimeSurvey/tree/4.4.0/modules
We used simple Module admin/HelloWorld on screen.
anyone can help/guide me in this.
Thank you in advance.
Your LimeSurvey version: LimeSurvey Version 3.26.2+210503
Own server or LimeSurvey hosting: Own server
==================
Hi, everyone.
I m new in ls3 and I want to create custom screens using modules.
we tried some Demo Modules of LS 4.40 but that's will be not working in ls3.
while we run our module demo that will be reload the screen and display survey listing screen in ls3.
tried Demo Module URL: github.com/LimeSurvey/LimeSurvey/tree/4.4.0/modules
We used simple Module admin/HelloWorld on screen.
anyone can help/guide me in this.
Thank you in advance.
Attachments:
Last edit: 2 years 1 month ago by Hiccup.
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
2 years 1 month ago #226280
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic How to create modules In LS3 for custom Screens.
The module directory was added in LS4. The feature is driven by the Yii-Framework, which is used in LS3 too. But I have never seen someone fiddling around adding them to LS3.
In LS5 the work continues:
github.com/LimeSurvey/LimeSurvey/tree/master/modules
I find it hard to invest time in LS3 since it is fading out.
In LS5 the work continues:
github.com/LimeSurvey/LimeSurvey/tree/master/modules
I find it hard to invest time in LS3 since it is fading out.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
2 years 1 month ago #226288
by DenisChenu
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.
Replied by DenisChenu on topic How to create modules In LS3 for custom Screens.
In 3.X : i dpon't think you can create custom screen.
Else about modules : never use it personnaly,
But you can find a lot of custom screen on my plugins : gitlab.com/SondagesPro
Else about modules : never use it personnaly,
But you can find a lot of custom screen on my plugins : gitlab.com/SondagesPro
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.
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
2 years 1 month ago #226290
by Hiccup
Replied by Hiccup on topic How to create modules In LS3 for custom Screens.
Hi jello
Modules are working for LS3.
But we did not get an example for that version.
we have LS4.4 and LS5 Modules example but that's not working in LS3.
Thanks For the URL but we already checked it.
Thank you Jelo
Modules are working for LS3.
But we did not get an example for that version.
we have LS4.4 and LS5 Modules example but that's not working in LS3.
Thanks For the URL but we already checked it.
Thank you Jelo
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
2 years 1 month ago #226293
by Hiccup
Replied by Hiccup on topic How to create modules In LS3 for custom Screens.
Hi DenisChenu
Thank you for the details.
Thank you for the details.
Please Log in to join the conversation.
- bismark
- Offline
- Senior Member
Less
More
- Posts: 70
- Thank you received: 15
2 years 1 month ago #226411
by bismark
Replied by bismark on topic How to create modules In LS3 for custom Screens.
we use yii modules on a regular basis
create a standard yii module (hello) with gii (index.php/gii), password "toto"
in application/config/config.php add your modules configuration
call your module index.php/hello
www.yiiframework.com/doc/guide/1.1/en/basics.module
create a standard yii module (hello) with gii (index.php/gii), password "toto"
in application/config/config.php add your modules configuration
call your module index.php/hello
www.yiiframework.com/doc/guide/1.1/en/basics.module
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- Hiccup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
2 years 3 weeks ago #226494
by Hiccup
Replied by Hiccup on topic How to create modules In LS3 for custom Screens.
Hi Bismark
Thank you for your info.
We created one Test module in the local system.
we set up the config file, modules folder inside this folder
we created our module folder [testmodule].
we reach the controller using URL: .../index/test
we try to display simple HTML on screen using index.php file inside view folder its showing error on screen.
can you please help us in this?
Thank you for your info.
We created one Test module in the local system.
we set up the config file, modules folder inside this folder
we created our module folder [testmodule].
we reach the controller using URL: .../index/test
we try to display simple HTML on screen using index.php file inside view folder its showing error on screen.
can you please help us in this?
Attachments:
Please Log in to join the conversation.
- bismark
- Offline
- Senior Member
Less
More
- Posts: 70
- Thank you received: 15
2 years 3 weeks ago - 2 years 3 weeks ago #226498
by bismark
Replied by bismark on topic How to create modules In LS3 for custom Screens.
www.yiiframework.com/doc/guide/1.1/en/basics.view
you are using a LimeSurvey-Layout which you cannot use within your module. Define your own in yourModule/views/layouts/main.php
then in your Controller set
public $layout = 'main';
or within your Action
$this->layout = main;
or $this->layout = false; if you just want to display the view without being wrapped by a layout
furthermore I would set debug = 2 in your application/config/config.php
you are using a LimeSurvey-Layout which you cannot use within your module. Define your own in yourModule/views/layouts/main.php
then in your Controller set
public $layout = 'main';
or within your Action
$this->layout = main;
or $this->layout = false; if you just want to display the view without being wrapped by a layout
furthermore I would set debug = 2 in your application/config/config.php
Last edit: 2 years 3 weeks ago by bismark.
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
2 years 5 days ago #227250
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How to create modules In LS3 for custom Screens.
Please remove the company name and link from your signature. That is not permitted u less you are a LimeSurvey partner.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- ervinjason
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
1 year 10 months ago #229501
by ervinjason
Alight Motion is the first professional motion design app on computer bringing you professional-quality animation, motion graphics, visual effects, video editing, video compositing, and more!
Replied by ervinjason on topic How to create modules In LS3 for custom Screens.
Modules are working for LS3.
But I did not get an example for that version.
I have LS4.4 and LS5 Modules example but that's not working in LS3.
But I did not get an example for that version.
I have LS4.4 and LS5 Modules example but that's not working in LS3.
Alight Motion is the first professional motion design app on computer bringing you professional-quality animation, motion graphics, visual effects, video editing, video compositing, and more!
Please Log in to join the conversation.