PDF No Word Wrap

The Export PDF does not word wrap my text -- so I'm losing some of my text.

Is there a fix?
bejee45
 
Posts: 1
Joined: Thu May 24, 2012 12:24 pm

Hi,
unfortunately scheduler PDF-export doesn't support word-wrap.
radyno
 
Posts: 1391
Joined: Tue Apr 19, 2011 10:24 am

Are there any plans to add support for word-wrap?

The words getting cut off are important and need to be displayed on the PDF. Seems like this is an important thing to support.
dmoz
 
Posts: 20
Joined: Mon Sep 17, 2012 7:14 pm

Hi,
which view are you talking about?
PDF show so much event text as possible. It cuts text only if event container in less then event text.
radyno
 
Posts: 1391
Joined: Tue Apr 19, 2011 10:24 am

When I click the export PDF button, some of the lines are cut off. There's important information I need to show up. Is there any way to have it wrap or show all of the content somehow?
dmoz
 
Posts: 20
Joined: Mon Sep 17, 2012 7:14 pm

Could you provide some screenshot of cut text? It may occur in different views and places (header, left scale, events). Fix may depend of this details.
radyno
 
Posts: 1391
Joined: Tue Apr 19, 2011 10:24 am

Sure. You'll see on the attachment that entire words are cut off.

Thanks very much for looking into this for me.
Attachments
Screen Shot 2012-12-04 at 8.57.25 AM.png
Screen Shot 2012-12-04 at 8.57.25 AM.png (116.63 KiB) Viewed 1396 times
dmoz
 
Posts: 20
Joined: Mon Sep 17, 2012 7:14 pm

Hi,
please, download scheduler-pdf-php script and locate it at your server.
After that add into your scheduler_include.html the follow code:
Code: Select all
<script>
scheduler.config.export_.pdf_url = "http://url to export script/scheduler-pdf-php/generate.php";
</script>

Provided export script has increased event height for month-view. If you need to adjust it you may do it in file pdfGenerator.php:
Code: Select all
   // height of month line event
   public $monthEventHeaderHeight = 8;
   // height of month line event
   public $monthEventMultidayHeight = 8;
Attachments
scheduler-pdf-php.zip
(628.19 KiB) Downloaded 55 times
radyno
 
Posts: 1391
Joined: Tue Apr 19, 2011 10:24 am

Thanks very much for the script. I was actually having a different problem getting the local export script to work. I have everything in place, but the "Export PDF" button still uses http://dhtmlxscheduler.appspot.com/export/pdf and I don't know how to get it to use this script on my server.

I have the scheduler-pdf-php folder uploaded and the absolute path to it called in scheduler-include.html, but it still isn't working. Am I missing something?

Thanks for your help.
dmoz
 
Posts: 20
Joined: Mon Sep 17, 2012 7:14 pm

Hi,
please check the name of file scheduler_include.html. It should be _ instead of - in name.
It already exists. For joomla it's location components/com_scheduler/, for wordpress is wp-content/plugins/event-calendar-scheduler/
radyno
 
Posts: 1391
Joined: Tue Apr 19, 2011 10:24 am

Next

Return to Scheduler for Joomla and WP

Who is online

Users browsing this forum: No registered users and 1 guest