PDF for download

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Till
Posts: 337
Joined: Tue May 20, 2008 7:20 am
Location: Germany: Bremen
Contact:

Re: PDF for download

Post by Till » Sun Oct 18, 2009 4:15 pm

Tata wrote:I tried this function with CMSimple-XH. Everything works well.
Tata, you are right. It works in CMSimple_XH. There is only a little bug I stumbled over. If you call your site and land on your first page, it can't print PDF, since it tries to do:

http://www.my_WebSite.de/?&pdf

Then you see an empty PDF-page. However, if you say:

http://www.my_WebSite.de/?Welcome&pdf

you see a PDF page filled with content. So the code needs some changes.

Till

Till
Posts: 337
Joined: Tue May 20, 2008 7:20 am
Location: Germany: Bremen
Contact:

Re: PDF for download

Post by Till » Sun Oct 18, 2009 6:01 pm

Tata wrote:Only a notice returns

Code: Select all

Notice: Undefined variable: pdf in http://www.mydomain.sk/cmsimple/functions.php on line 54
I added:

Code: Select all

initvar('pdf');
So, this problem should be solved. Please, test it once more, Tata.

In addition I added:

Code: Select all

if($su=='')return '<a href="'.$sn.'?'.ereg_replace(' ','_',$h[0]).$t.'">'.$tx['menu']['pdf'].'</a>';
Also entry pages generate PDF prints now. And it works in CMSimple 3.2 and CMSimple_XH (in usefuncs.php).

The code in the wiki has been updated.

Till

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: PDF for download

Post by Tata » Mon Oct 19, 2009 11:04 pm

Till wrote:Please, test it once more, Tata.
Works super!
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: PDF for download

Post by bastingse » Mon Oct 23, 2017 2:48 pm

This is a very old topic but i guess it still would be usefull if this function works....
Any chance this can be working in XH 1.7.1 ????

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: PDF for download

Post by frase » Mon Oct 23, 2017 3:17 pm

Es gibt ein Plugin "simplePDF".
Download unbekannt.
User: Hartmut
Author: Holger

Maybe over PN?

Example:
http://cmsimplexh.webdesign-keil.de/?Fa ... _erstellen

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PDF for download

Post by cmb » Mon Oct 23, 2017 4:48 pm

Well, modern Browsers often already support PDF conversion – maybe you have to install a plugin, e.g. https://addons.mozilla.org/de/firefox/addon/webtopdf/.
frase wrote:Es gibt ein Plugin "simplePDF".

Author: Holger

Maybe over PN?
It's worth a try. :)
Christoph M. Becker – Plugins for CMSimple_XH

Hartmut
Posts: 553
Joined: Sat Nov 05, 2011 6:13 pm
Location: Butzbach, Deutschland
Contact:

Re: PDF for download

Post by Hartmut » Mon Oct 23, 2017 6:18 pm

frase wrote:Es gibt ein Plugin "simplePDF".
Download unbekannt.
User: Hartmut
Author: Holger

Maybe over PN?

Example:
http://cmsimplexh.webdesign-keil.de/?Fa ... _erstellen
Here is a short information about the plugin "simplePDF".
I got it from Holger Irmler - http://cmsimple.holgerirmler.de.
With the plugin I found no indication of the license and must be asked at Holger.
The plugin "simplePDF" works with CMSimpl_XH 1.6.x, 1.7 and PHP 5.6 error-free.

Best regards
Hartmut

Update (Hartmut): Lizenz GPLv2.1

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: PDF for download

Post by Holger » Mon Oct 23, 2017 9:12 pm

Hartmut wrote:Update (Hartmut): Lizenz GPLv2.1
:?: There's no license mentioned so far at all.

@Hartmut: das ist schon so lange her und ich hab' nicht mehr auf dem Schirm, was man bei dem Plugin beachten musste :oops: .
Hast Du vielleicht noch die Beschreibung von mir? Dann übersetze ich es und schicke Emile das Plugin.
Nur wenn das Plugin auch wirklich genutzt wird macht es Sinn, es überhaupt komplett fertig zu machen und zu pflegen.

Hartmut
Posts: 553
Joined: Sat Nov 05, 2011 6:13 pm
Location: Butzbach, Deutschland
Contact:

Re: PDF for download

Post by Hartmut » Tue Oct 24, 2017 5:55 pm

Hallo Holger,

aus meiner Sicht halte ich das Plugin für den Anwender hilfreich, da nicht bei allen Browsern ein AddOn PDF zur Verfügung steht und es auch unter XH 1.7 funktioniert.

Deine deutsche Plugin Dokumentation und unseren damaligen Mailwechsels (enthält potentielle Inhalte für die Doku und Funktionsergänzungen) habe ich Dir per PN gesendet.

Viele Grüße
Hartmut

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: PDF for download

Post by bastingse » Tue Oct 24, 2017 6:10 pm

Hi Folks,
Amazing how helpful you are !! Thanks already!
I can not understand all german words but as far as i understood this will work fine.

I would love to receive a copy of the plugin and if it works good i will do translation to dutch so i can do something in return!
I appreciate your help very much!

Post Reply