- Posts: 13648
- Thank you received: 2491
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
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
2 months 4 weeks ago #255090
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
No javascript, no PHP
Only twig in gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
If you want more data sent : please : create a Merge Request on gitlab.com/SondagesPro/ExportAndStats/pd...ort/-/merge_requests
(you can create a gitlab.com/SondagesPro/ExportAndStats/pdfReport/-/issues but…)
Only twig in gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
If you want more data sent : please : create a Merge Request on gitlab.com/SondagesPro/ExportAndStats/pd...ort/-/merge_requests
(you can create a gitlab.com/SondagesPro/ExportAndStats/pdfReport/-/issues but…)
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.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
2 months 4 weeks ago - 2 months 4 weeks ago #255093
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
My Other Question was can I generate pdfs on this page in Limesurvey by using pdfReport with Limempdf
Attachments:
Last edit: 2 months 4 weeks ago by bhavik.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 4 weeks ago #255094
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
No
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.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
2 months 2 weeks ago #255832
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Hello Team,
I am now successfully using Limempdf with pdfReport. One thing I want to change in the pdf layout is the tables have padding on the page I want to use the whole width of the page. I want no spaces on the left and right of the tables
I am now successfully using Limempdf with pdfReport. One thing I want to change in the pdf layout is the tables have padding on the page I want to use the whole width of the page. I want no spaces on the left and right of the tables
Attachments:
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 2 weeks ago #255841
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
I don't see margin on your table here.
Else mpdf.github.io/tables/table-layout.html
About page padding : i didn't update anything default fro mpdf. Maybe yoiu can try to set some @page css : mpdf.github.io/paging/using-page.html
in gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
Else mpdf.github.io/tables/table-layout.html
About page padding : i didn't update anything default fro mpdf. Maybe yoiu can try to set some @page css : mpdf.github.io/paging/using-page.html
in gitlab.com/SondagesPro/coreAndTools/lime....twig?ref_type=heads
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.
- bhavik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
2 months 2 weeks ago #256013
by bhavik
Replied by bhavik on topic pdfReport plugin - How to Create a Custom Template
Thankyou so Much for your reply but I want to adjust the right-margin and left-margins of the pdf generated found the solution and changed the Default settings. My Final question is if I were to use body.twig in the theme editor how will I target a specific question or a survey id so that the report gets generated in a upload question. the code for my cuurent survey is too long and I want to use a for loop for looping through all question in the survey
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 2 weeks ago #256015
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
You can update PHP code of LimeMpdf if needed.
body.twig is not shown in theme editor (for 2 reasons) : you must edit it via SFTP, FTPS or SSH.
I don't understand your target ?
If you update body.twig in your personal survey theme : it apply to all pdfReport question in survey using this theme.
Then
1. extend theme
2. In views/subviews/mpdf/ directory of this new theme : put your body.twig file (via FTP)
3. Test
body.twig is not shown in theme editor (for 2 reasons) : you must edit it via SFTP, FTPS or SSH.
I don't understand your target ?
If you update body.twig in your personal survey theme : it apply to all pdfReport question in survey using this theme.
Then
1. extend theme
2. In views/subviews/mpdf/ directory of this new theme : put your body.twig file (via FTP)
3. Test
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.
- linuxhooligan
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 6
2 days 2 hours ago #261271
by linuxhooligan
Replied by linuxhooligan on topic pdfReport plugin - How to Create a Custom Template
Apologies for bumping this thread. Can someone explain to me the following:
1) What is the relationship between pdfReport and LimePdf? Why and how are they used together?
2) Can pdfReport be used to give a user a pdf report of their resutls at the end of the survey? The Sondages demo page suggests the answer is yes but I am confused by the correlation with Limesurvey and the usecases for either / both products.
Thank you kindly.
1) What is the relationship between pdfReport and LimePdf? Why and how are they used together?
2) Can pdfReport be used to give a user a pdf report of their resutls at the end of the survey? The Sondages demo page suggests the answer is yes but I am confused by the correlation with Limesurvey and the usecases for either / both products.
Thank you kindly.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
2 days 1 hour ago #261273
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
Hi,
1. See here
[url] gitlab.com/SondagesPro/ExportAndStats/pdfReport [/url]
Short: With limeMpdf you can use the bootstrap options.
2. Yes, see the options in the settings
Joffm
1. See here
[url] gitlab.com/SondagesPro/ExportAndStats/pdfReport [/url]
The demo files you find in the folder "demo" of the plugin.With limeMpdf pluginWhen using limeMpdf plugin, there are already some CSS class inspired by Bootstrap. See limeMdpf demo file for a lot of available class.
Short: With limeMpdf you can use the bootstrap options.
2. Yes, see the options in the settings
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 day 22 hours ago - 1 day 22 hours ago #261318
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
> The demo files you find in the folder "demo" of the plugin.
No In the plugin configuration (need update plugin )
> Short: With limeMpdf you can use the bootstrap options.
Long :
No In the plugin configuration (need update plugin )
> Short: With limeMpdf you can use the bootstrap options.
Long :
- mpdf is really more powerfull than tcpdf on HTML support .
- LimeMpdf allow you to have your own header/footer/content etc …
- LimeMPDF include some dedicated tag for example : in the demo survey : i use <radio> and <radio-checked> tag
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: 1 day 22 hours ago by DenisChenu. Reason: demo files
Please Log in to join the conversation.