- Posts: 13645
- Thank you received: 2491
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Use limeMpdf for printing surveys
- DenisChenu
- Offline
- LimeSurvey Community Team
In 4.X via a plugin (core plugin)thomasjanotta wrote: Thank you.
Has this been solved?
bugs.limesurvey.org/view.php?id=8858
You're totally right, but for example : some user can like to add logo at header, make their own footer.And to come back to my question.
In my opinion these folders are included in the plugin already.
In "lime\plugins\limeMpdf\views\subviews\mpdf"
body are less need, but header and footer can really be intersetig
I update the plugin to allow update this 3 twig file in theme editor in some hour.
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.
- thomasjanotta
- Topic Author
- Offline
- New Member
- Posts: 8
- Thank you received: 0
Cool, thank you.
I still have a last question: I put the pdfreport.css in the files/ folder but it is not used. (cleared cache)
with a pdfreport.css in the files directory of the template
Fruity?
my custom template? (limesurvey\upload\themes\survey\_extends_fruity\files\)
Thank you.
Would you, Joffm and Denis, send me your donation links? (paypal, patreon...)
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13645
- Thank you received: 2491
WIth limeMpdf : gitlab.com/SondagesPro/coreAndTools/lime...df/style-custom.twig is here for this.
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.
- thomasjanotta
- Topic Author
- Offline
- New Member
- Posts: 8
- Thank you received: 0
One thing, you say: function setOptions Set one or more mPdf options
Where do I set it, in the file directly (didn't work). I need a bigger footer_margin as I have multi lines and logo in footer. thank you very much
merci.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13645
- Thank you received: 2491
I really don't know …thomasjanotta wrote: Where do I set it, in the file directly (didn't work). I need a bigger footer_margin as I have multi lines and logo in footer. thank you very much
merci.
Did you try update : gitlab.com/SondagesPro/coreAndTools/lime...meMpdfHelper.php#L68
Else : mpdf.github.io/headers-footers/headers-top-margins.html
I don't know how to set this with the plugin : gitlab.com/SondagesPro/coreAndTools/lime...eMpdfHelper.php#L107
Maybe adding a twig file for some options ?
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.
- Chiripa
- Offline
- New Member
- Posts: 19
- Thank you received: 0
Joffm wrote: Hi,
you only have to upload "pdfreport" and "limeMpdf" to the plugin folder.
Then you have this option in "pdfreport"
Joffm
Joffm ya intenté hacer esto pero no funciona. Dice que el plugin no es compatible con mi versión de LS. Por favor me pueden ayudar? Es urgente ya que pronto comenzamos el pro ceso de matrícula de nuestros estudiantes.
Gracias
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13645
- Thank you received: 2491
Get back to 3.X version or ask to a developer to fix the issue for 4.X,Joffm ya intenté hacer esto pero no funciona. Dice que el plugin no es compatible con mi versión de LS. Por favor me pueden ayudar? Es urgente ya que pronto comenzamos el pro
I'm happy to test and accept the pull request when it's done.
I can work on it january or february (maybe)
All code are here gitlab.com/SondagesPro/ExportAndStats/pdfReport and licence are here : gitlab.com/SondagesPro/ExportAndStats/pd.../blob/master/LICENCE
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.