Hello maverick.

I have problem with survey PDF report title.

My surveys titles are very long, close to 255 character limit.
Everything works OK, but on mentioned above report, this long title "dont try" to wrap over, but dissapears near to right document edge. I have copied this partially invisible title and it whole lenght is cropped too, at about 100 character.

Is there a solution/workaround to this?

Best regards,
Brand New

Like it on Facebook, Tweet it or share this topic on other bookmarking websites.
  • Re: Survey PDF report long title is truncated

    by » 2 years ago

    This is the restriction at the tcpdf library, the header data cannot be extended to second line in this case. I am working on improving the header information to include the logo and other information and move the title to the content area. This will be available in next release.

    Follow me on twitter: https://twitter.com/corejoomla
    If you use our extensions, please post a rating and a review at the Joomla! Extensions Directory.
    Sociable | Surveys | 
    CjForum | Polls | Answers | Quizzes | Quotes | GPS ToolsCjFit | CjBlog

  • Re: Survey PDF report long title is truncated

    by » 2 years ago

    Hello maverick.

    Thank You for fast answer.

    Meanwhile I found workaround, by adding few lines to file:
    /templates/[template name]/html/layouts/com_communitysurveys/pdf/results/header.php

    code is:
    <th><?php echo JText::_('COM_COMMUNITYSURVEYS_CSV_HEADER_TITLE') ?></th>
    <td><?php echo $this->escape($item->title); ?></td>
    right after:
    <table class="table table-striped" border="1" cellpadding="5" cellspacing="0">

    Of course COM_COMMUNITYSURVEYS_CSV_HEADER_TITLE string have to be defined.

    Best regards,
    Brand New

You do not have permissions to reply to this topic.

Powered by CjForum

Trending Topics

Slider outputs don't show in Preview
  • 5 replies
Hi, when you go to preview view the slider outputs don't show they...

Certificate on course completion
  • 1 reply
Hi,  I have defined a course that consists of 2 quizzes. I...

Integrating Surveys with Affiliate Tracker
  • 4 replies
Hello,   We are using Affiliate Tracker as an affiliate...

Installation error - Warning : constant(): Couldn't find constant JPATH_
  • 3 replies
Hello,I'm running Joomla 3.9.19 and PHP 7.2. I in stalled...

Athor and category hide
  • 1 reply
Hello, I am new to Community Polls. I already come that far to...