- Posts: 16
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
pdfReport plugin - How to Create a Custom Template
- bhavik
- Topic Author
- Offline
- New Member
Less
More
3 months 2 weeks ago #254823
by bhavik
pdfReport plugin - How to Create a Custom Template was created by bhavik
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.2.10
Own server or LimeSurvey hosting: Own AWS server
Survey theme/template: Customised Bootswatch theme
Hello Team,
I have successfully installed pdfReport Plugin and created a file upload question and made the changes in its settings. I am attaching my LSG structure along here, I want to render its questions in the pdf. Where should I make changes and what kind of script I should use to render the questions in the pdf. Can anyone help me showing a script on how to render the questions and its answers in the pdf, also currently I can only download the pdf after I test the survey and click on "print your answers", is there a way i can download the pdf from the "responses" in the settings. So that I can download a admin pdf for every participant?
Thanks.
Your LimeSurvey version: 6.2.10
Own server or LimeSurvey hosting: Own AWS server
Survey theme/template: Customised Bootswatch theme
Hello Team,
I have successfully installed pdfReport Plugin and created a file upload question and made the changes in its settings. I am attaching my LSG structure along here, I want to render its questions in the pdf. Where should I make changes and what kind of script I should use to render the questions in the pdf. Can anyone help me showing a script on how to render the questions and its answers in the pdf, also currently I can only download the pdf after I test the survey and click on "print your answers", is there a way i can download the pdf from the "responses" in the settings. So that I can download a admin pdf for every participant?
Thanks.
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 2 weeks ago #254824
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Here is the LSG structure in my survey
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
3 months 2 weeks ago - 3 months 2 weeks ago #254827
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic pdfReport plugin - How to Create a Custom Template
Please, neither lsq nor lsg exports.
Only lss.
As far as I remember there is a demo file in the plugin, folder "demo"
Joffm
Only lss.
As far as I remember there is a demo file in the plugin, folder "demo"
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 months 2 weeks ago by Joffm.
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 2 weeks ago #254829
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Here is the lss file
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
3 months 2 weeks ago - 3 months 2 weeks ago #254832
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic pdfReport plugin - How to Create a Custom Template
Did you import the demo?
And you create your report using HTML, css and ExpressionScript, no php.
Joffm
And you create your report using HTML, css and ExpressionScript, no php.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 months 2 weeks ago by Joffm.
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 2 weeks ago #254833
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
We are not using limempdf as we dont want to send survey via emails to participants, we want to use pdfReport on the admin side to have customized pdfs as per our Requirements. We want to develop a custom pdf so we as an admin can get a desired view of the participants responses. Yes we have the demo file when we installed the pdfReport zip file and uploaded it as a plugin. Please correct me if Im wrong.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13684
- Thank you received: 2497
3 months 2 weeks ago - 3 months 2 weeks ago #254853
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 pdfReport plugin - How to Create a Custom Template
Did you look at the README ? And the demo files ?
gitlab.com/SondagesPro/ExportAndStats/pdfReport#sample-survey
gitlab.com/SondagesPro/ExportAndStats/pd...t/-/tree/master/demo
Else
Custom template are included in limempdf
All this file : gitlab.com/SondagesPro/coreAndTools/lime.../mpdf?ref_type=heads
Can be replaced by your Survey theme
(but only via FTP currently (LS core issue))
For example : you can totally remove content usage gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
in you own theme and construct whole body at this place.
gitlab.com/SondagesPro/ExportAndStats/pdfReport#sample-survey
gitlab.com/SondagesPro/ExportAndStats/pd...t/-/tree/master/demo
Else
Custom template are included in limempdf
All this file : gitlab.com/SondagesPro/coreAndTools/lime.../mpdf?ref_type=heads
Can be replaced by your Survey theme
(but only via FTP currently (LS core issue))
For example : you can totally remove content usage gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
in you own theme and construct whole body at this place.
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.
Last edit: 3 months 2 weeks ago by DenisChenu.
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 2 weeks ago #254883
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Where should I import the Demo, when I installed the plugin, I had the demo file in the pdfReport.zip file, by creating report you mean changing the HTML, css and ExpressionScript in the upload Question I created? What kind of code should I add to render question?
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 2 weeks ago #254884
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Your LimeSurvey version: 6.2.10
When I try to install Limempdf in the plugins Manager, I cannot as I have version 6.2.10, it goes for an Error such that the plugin does not support your limesurvey version.
When I try to install Limempdf in the plugins Manager, I cannot as I have version 6.2.10, it goes for an Error such that the plugin does not support your limesurvey version.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
3 months 2 weeks ago - 3 months 2 weeks ago #254885
by Joffm
In the demo there are 2 *.lss exports
The second uses "limeMpdf" additionally.
And have a look at the "config.xml".
Is Version 6 in the compatibility section?
If not, add it.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic pdfReport plugin - How to Create a Custom Template
As you import all lss files.Where should I import the Demo
In the demo there are 2 *.lss exports
The second uses "limeMpdf" additionally.
And have a look at the "config.xml".
Is Version 6 in the compatibility section?
If not, add it.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 months 2 weeks ago by Joffm.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13684
- Thank you received: 2497
3 months 2 weeks ago #254886
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 pdfReport plugin - How to Create a Custom Template
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 following user(s) said Thank You: Joffm
Please Log in to join the conversation.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 months 1 week ago #255089
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Hello Team,
Can I use Limempdf and have an export option for the responses in the responses tab for PDFs through Limempdf Instead of having the general Limesurvey Pdf option. Also I have to write long codes for pdf generation, can I use a for loop using javascript or PHP for looping through questions.
Can I use Limempdf and have an export option for the responses in the responses tab for PDFs through Limempdf Instead of having the general Limesurvey Pdf option. Also I have to write long codes for pdf generation, can I use a for loop using javascript or PHP for looping through questions.
Please Log in to join the conversation.