2
In general, this version is working correctly. Thanks !
I experience several problems with the makepdf.php.
The first problem is that the path to the tcpdf library is wrong. E.g. line 35 of make.pdf:
if (!is_file(XOOPS_PATH . '/vendor/tcpdf/tcpdf.php')) {
This should be:
if (!is_file(XOOPS_ROOT_PATH . '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php')) {
There are several similar problems in the makepdf.php.
The, there is an error message:
XOOPS URL not defined
This can be solved by deleting all lines such as:
SetFont(PDF_FONT_NAME_SUBSUB, PDF_FONT_STYLE_SUBSUB, PDF_FONT_SIZE_SUBSUB);
I don't know what is wrong, but this code is a few time in the make.pdf and generates the error.
Subtitle is not displayed on the index page. I added after line 207 in index.php:
$story['subtitle'] = $thisstory->subtitle();
Furthermore, I did several adjustments on the layout.
SMEDrieben