Jump to content

tata.mata

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by tata.mata

  1. finally got it. edit /classes/Tools.php Find: static public function iconv ( $from , $to , $string ) { if (function_exists('iconv')) return iconv($from, $to.'//TRANSLIT', str_replace('¬•', '¥', str_replace('¬£', '£', str_replace('‚Ǩ', '€', $string)))); return html_entity_decode(htmlentities($string, ENT_NOQUOTES, $from), ENT_NOQUOTES, $to); return $string ; } Replace with: static public function iconv ( $from , $to , $string ) { /*if (function_exists('iconv')) return iconv($from, $to.'//TRANSLIT', str_replace('¬•', '¥', str_replace('¬£', '£', str_replace('‚Ǩ', '€', $string)))); return html_entity_decode(htmlentities($string, ENT_NOQUOTES, $from), ENT_NOQUOTES, $to);*/ return $string ; }
  2. open admin/tabs/AdminPDF.php find $fontFiles = scandir(_PS_FPDF_PATH_.'font'); replace with $fontFiles = scandir(_PS_TCPDF_PATH_.'fonts'); and find $encodingFiles = scandir(_PS_FPDF_PATH_.'font/makefont'); replace with $encodingFiles = scandir(_PS_TCPDF_PATH_.'fonts/utils/enc');
  3. using prestashop 1.3 both encoding and font dropdowns are empty under admin/preferences/pdf. any idea where to fix this?
×
×
  • Create New...