58
           
            
                
     
    
    Quote:
Mamba wrote:
Quote:'TCPDF for Xoops' : download it here 
I've downloaded it, but at the moment it shows an empty page when I'm trying to generate a PDF file. I'll try to test some more over the weekend, but I am curious if anybody else experiences the same behavior.
The same.
In "/Frameworks/tcpdf/config/tcpdf_config.php" replace lines 25 and 26:
 define ('K_PATH_MAIN',  XOOPS_ROOT_PATH.'/modules/news/tcpdf/');    //panwac     define ('K_PATH_URL', XOOPS_URL.'/modules/news/tcpdf/');  
with
 define ('K_PATH_MAIN',  XOOPS_ROOT_PATH.'/Frameworks/tcpdf/');    //panwac     define ('K_PATH_URL', XOOPS_URL.'/Frameworks/tcpdf/');  
After that I've got a pdf document generated, but with a '?' sign in any place, there should be polish characters. I changed 'helvetica' with 'dejavusans' and now everything is O.K.