- Posts: 66
- Thank you received: 3
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
protected function newPage($init = false) { $this->columnCP++; //increment the column pointer if ($init || ($this->columnCP >= $this->columns)) { // if it is time for a new page $this->AddPage(); //Set Auto page break to false $this->SetAutoPageBreak(false); $this->SetMargins(0, 0, 0); $this->SetHeaderMargin(0); $this->SetFooterMargin(0); $oTemplate = Template::model()->getInstance(); $sLogoFileName = $oTemplate->filesPath . Yii::app()->getConfig('pdflogofile'); if (file_exists($sLogoFileName)) { $result = LSYii_ImageValidator::validateImage($sLogoFileName); if (isset($result['check']) && $result['check'] == true) { $sLogo = "@" . file_get_contents($sLogoFileName); $this->Image($sLogo, 15, 5, 0, 7); } }
$config['pdflogofile'] = 'logo_pdf.png'; // File name of logo for single answer export. Path is theme path, i.e. theme/default/logo_pdf.png.
Do you want us to search for it?I found a posting way back on version 4 (I think. Might have been 5. Can’t find it now)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Changes from 3.21.5 (build 200115) to 4.0.0 (build 200116) January 16, 2020 ... -New feature #14668: Custom logo at queXML export (Marko Bischof) ...
Please Log in to join the conversation.