Hi,
you find the code in "/application/libraries/admin/quexmlpdf.php"
Code:
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);
}
}
And as the function is "newPage" there should be the logo on each new page.
And you see: In the configuration file there is a setting to define the logo image.
In "/application/config/config-defaults.php"
Code:
$config['pdflogofile'] = 'logo_pdf.png'; // File name of logo for single answer export. Path is theme path, i.e. theme/default/logo_pdf.png.
So you may overwrite this in "config.php" to set your desired logo for the quexmlpdf.
Or you just save your logo as "logo_pdf.png.
I found a posting way back on version 4 (I think. Might have been 5. Can’t find it now)
Do you want us to search for it?