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 » 12 months 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.
    CjFitCjForum | Polls | Answers | Quizzes | Quotes | Surveys | GPS Tools | CjBlog


  • Re: Survey PDF report long title is truncated

    by » 12 months 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:
    <tr>
    <th><?php echo JText::_('COM_COMMUNITYSURVEYS_CSV_HEADER_TITLE') ?></th>
    <td><?php echo $this->escape($item->title); ?></td>
    </tr>
    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

Site Search

Trending Topics

26/5000 choose only 3 among several
  • 1 reply
Hello, I need a question in which you can choose only 3 options,...

Link to Post in Email now working
  • 1 reply
What version you are using?

Social User Points
  • 1 reply
Hi I did a search and didn't come up with anything but Jomsocial...

Unregistered Users
  • 1 reply
Hi. My Answer forum is completely guest user (unregistered) driven....

best answer
  • 3 replies
Hi I would like to make the best answer more prominent, such as...

Subscribe Newsletter