xoops forums

Bleekk

Theme Designer
Posted on: 2016/7/9 11:07
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 902
Since: 2002/12/14
#11

Re: Publisher and xoops 2.5.8 tests

Seems to be fixed by mamba
https://github.com/XoopsModules25x/publisher/issues/31

Mamba

Moderator
Posted on: 2016/7/9 12:15
Mamba
Mamba (Show more)
Moderator
Posts: 10390
Since: 2004/4/23
#12

Re: Publisher and xoops 2.5.8 tests

Fixes are in Publisher 1.03 RC 2

Regarding PDF, you can download TCPDF from GitHub, and then copy the content of the zip file into:

/class/libraries/vendor/tecnickcom/tcpdf/

and then your PDF should work without any problems.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cesagonchu

Moderator
Posted on: 2016/7/9 15:04
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 855
Since: 2010/2/1 2
#13

Re: Publisher and xoops 2.5.8 tests

Thx Mamba and Bleekk

Will you add an advertisement into Publisher for the pdf?

Bleekk

Theme Designer
Posted on: 2016/7/9 15:55
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 902
Since: 2002/12/14
#14

Re: Publisher and xoops 2.5.8 tests

@Mamba
Is it not better to provide tcpdf with xoops core? As you said news module needs also tcpdf

Cesagonchu

Moderator
Posted on: 2016/7/9 16:23
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 855
Since: 2010/2/1 2
#15

Re: Publisher and xoops 2.5.8 tests

and we already have the framework "tcpdf for xoops".

here for xoops 2.5.7 and higher:
http://sourceforge.net/projects/chgxoops/files/Frameworks/tcpdf_for_xoops/

Mamba

Moderator
Posted on: 2016/7/9 19:34
Mamba
Mamba (Show more)
Moderator
Posts: 10390
Since: 2004/4/23
#16

Re: Publisher and xoops 2.5.8 tests

Quote:
Is it not better to provide tcpdf with xoops core? As you said news module needs also tcpdf

That's extra 16MB, which I don't think people who don't plan to give their users an option to create PDF files, would appreciate

But those who plan to offer PDF, they can download themselves and just add to that location.

As Cesagonchu mentioned, there is the "streamlined" version of TCPDF done by Cedric, and of course, people are more than welcome to use it.

From our perspective there are only two requirements:

a) It is a TCPDF library (original or fork)
b) it is placed in that particular folder

Of course, the users can download the files directly, or they can take advantage of Composer (which you have to make sure that it's installed on your host), and just add this line

"tecnickcom/tcpdf":"6.*"


to the composer.json file located in:

/class/libraries/


and in the command line window issue a command:

composer update


and everything is taken care of, i.e. all libraries are updated, incl. all dependencies.

While we'll provide all the files to download, it's a good opportunity to learn more about Composer, because this is really an awesome tool, that is used by pretty much everybody!!!
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Mamba

Moderator
Posted on: 2016/7/9 20:38
Mamba
Mamba (Show more)
Moderator
Posts: 10390
Since: 2004/4/23
#17

Re: Publisher and xoops 2.5.8 tests

Quote:
Will you add an advertisement into Publisher for the pdf?

Not at the moment

I just would like to release Publisher as Final, and move on to finalize other modules for XOOPS 2.5.8....
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cesagonchu

Moderator
Posted on: 2016/7/10 5:58
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 855
Since: 2010/2/1 2
#18

Re: Publisher and xoops 2.5.8 tests

You can not announce a module as "final", while there is this PDF generation problem.
A user will not know he needs to further manipulation to generate the pdf.
This is not meticulous.

Mamba

Moderator
Posted on: 2016/7/10 8:02
Mamba
Mamba (Show more)
Moderator
Posts: 10390
Since: 2004/4/23
#19

Re: Publisher and xoops 2.5.8 tests

Maybe I misunderstood your previous post

If you mean by "advertisement" simply instructions about how to download TCPDF, then of course, we'll provide the info

If you're talking about some "advertisement" feature that some programs have, that include, for example, their specific logo in the printout, then it would be an extra feature, and I am not planning to adding it...
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cesagonchu

Moderator
Posted on: 2016/7/10 8:48
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 855
Since: 2010/2/1 2
#20

Re: Publisher and xoops 2.5.8 tests

My English is not perfect, sorry
Yes, I spoke of the need to warn users to install the TCPDF for XOOPS framework.
This framework from Cedric, not the link to the github tcpdf that is not dedicated to xoops.