Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by sandimilohanic

  1. Hi @adrian - big thanks for the reply and direction for further development.
  2. Hi everyone. I have a need for a specific user to add rights to multiple branches (below in the picture with the user selected two branches: branch1, branch2). Is this possible, and what is the best way to do it, and does the current modules need to be modified a lot?
  3. In administration, inside the WirePdf configuration, when I set Mode: "s" then I get a an exception: mPDF Error - cannot find TTF TrueType font file - /.../site/templates/fonts/DejaVuSans.ttf": invalid checksum 26f399eb8 table: FFTM (expected 6f399eb8) Can i help me why there is a exception?
  4. Greeting, I need help to use a font 'dejavusans'? I have problems with the display Croatian letters š, đ, č, ć, ž. I use $pdf = $modules->get('WirePDF'); but I can not set the font 'dejavusans' <?php $pdf = $modules->get('WirePDF'); $mpdf = $pdf->mpdf; $pdfPath = $config->paths->files . $page->id . "/" . $page->title.'.pdf'; $stylesheet = file_get_contents($config->paths->templates.'/pages2pdf/styles.css'); $wireSendOptions = array('exit' => false, 'forceDownload' => false, 'downloadFilename' => ''); $mpdf->WriteHTML($stylesheet,1); $html = ""; $html .= "<html lang='hr'><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /></head><body>"; $html .= '<table border=0>'; $html .= 'text example š đ č ć ž'; $html .= "</body></html>"; $mpdf->WriteHTML($html); $mpdf->Output($pdfPath, 'F'); wireSendFile($pdfPath, $wireSendOptions ); ?>
  5. I have had problems with pw version 2.5.3. When i editing a home page I got an error 404. The problem was because to the homepage i had field types Repeater. When I removed the field Repeater from homepage everything worked ok.
  • Create New...