11
goffy
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2017/12/11 16:06

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi

strange, today it looks fine. maybe it was a cache problem.

continue testing

12
SMEDrieben
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2017/12/31 8:07

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for this version !

I have two questions / remarks:

1.
Throughout several publisher (and even Smartsection) versions, I have tried to increase the size of the page numbers in the page navigator of articles. I mean, if you add a [pagebreak] within an article, a page navigator appears showing page numbers. I would like to increase the size of these numbers.

Is there a CSS style defining this size ? I couldn't find; I failed to adjust the size in my theme specific templates. Defined somewhere else ?

2.
I added an html-table in a publisher article. It is shown correctly. However, when I use the makepdf.php of publisher 1.05, the table is mixed up. The table has 3 columns and 9 rows. The first (left) column has 3 td's with a rowspan=3 each. In the pdf-version, some td's of the second and third column move to the first and the rowspan=3 appears in the third column (not in the first). How can this be adjusted so that it it given correctly in the pdf ?

Thanks !

SMEdrieben

13
SMEDrieben
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/2 11:41

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Concerning my first point:

I found the publisher_pagenav class. Adapting that class finally solved the page number size issue. The main problem was Chrome's caching routine: changens in css-files are not immediately shown in the web page after refreshing. i read something about CTRL+F5. Is that a solution ?

html-table in pdf: I didn't find any solution till now.

SMEDrieben

14
Bleekk
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/3 7:45

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


Is your website online?
Can we see that?

15
SMEDrieben
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/3 14:34

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17



16
Bleekk
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/3 16:38

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


I am not sure how you export the pdf bit with tcpdf it works correct
Seehttp://www.medische-ethiek.nl/modules/publisher/print.php?itemid=238

17
SMEDrieben
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/6 11:50

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks !

I agree that the print.php works correctly, but the makepdf.php doesn't. I use as pdf-generator:

require_once XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php';


Publisher's makepdf.php has at least two problems:

1. html-tables are mixed up
2. Greek characters are given as question marks (???)

Both are correct with the print.php. I suggest that it is in de tcpdf itself or how the data are deliverd at the tcpdf. I use the saem tcpdf with the latest release of the news modle. using that module the same problem occures. Both with the html-tables and teh Greek characters.

Furhter suggestions ?

SMEDrieben

18
Mamba
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/6 14:29

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


What version of TCPDF are you using? What font is the default one?

Just because the versions are the same, it doesn't mean that you're using the same configuration, e.g. if you use different fonts, you might have different results, if one of them supports UTF-8, and the other doesn't.

Try to add this line before line 114 in the makepdf.php to use this font and see if it helps:
$pdf->SetFont('dejavusans'''12);
//initialize document
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

19
aerograf
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/6 19:04

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Typically, the problem with the fonts.
The same problems are in Cyrillic.
Here it is in Greek.

20
SMEDrieben
Re: PUBLISHER 1.05 FINAL RELEASED
  • 2018/1/7 13:45

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks Mamba ! With the dejavusans font the Greek characters are given correctly in the pdf !

This is the beginning of the tcpdf.php (full version, not the special Xoops-version):

//============================================================+
// File name   : tcpdf.php
// Version     : 6.2.13
// Begin       : 2002-08-03
// Last Update : 2015-06-18
// Author      : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
// License     : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// -------------------------------------------------------------------


The main feautures state:

//  * UTF-8 Unicode and Right-To-Left languages;


The remaining problem is the mixing up of the html-table in the pdf.

SMEDrieben

Login

Who's Online

175 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits