Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

PDF Image Folder

  • bismark
  • bismark's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 5 months ago - 5 years 5 months ago #176717 by bismark
PDF Image Folder was created by bismark
It seems not possible to change the K_PATH_IMAGES constant of tcpdf because tcpdf-config already defines it

the application/libraries/admin/pdf.php constructor-Method does not have effect
Code:
foreach ($this->cfg_constant_map as $const => $cfgkey) {
    if (!defined($const)) {
        define($const, $this->_config[$cfgkey]);
        #echo sprintf("Defining: %s = %s\n<br />", $const, $this->_config[$cfgkey]);
    }
}

So, when I need to show a headerlogo in a pdf, I have to put it to application/thrid_party/tcpdf-folder?
Furthermore I have to change application/helpers/admin/statistics_helper.php to assign the image?
Last edit: 5 years 5 months ago by bismark.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
5 years 4 months ago #178311 by Mazi
Replied by Mazi on topic PDF Image Folder

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose