Page 1 of 2

PDF Header: Long article titles don't break properly...

Posted: 21 Jul 2011, 23:28
by l_dude_rhino
and are cut off.

Hi there!
As the subject says, I have several articles on my website that are rather long-titled and are not displayed properly in the header. Seems that the title doesn't break automatically and the line is just being cut off at the end of the page.
Any hints or workarounds?

Thanks & Bye,
Stephan

Re: PDF Header: Long article titles don't break properly...

Posted: 22 Jul 2011, 22:05
by Jan
Hi, did you try to resize the header area (margin of site and header)?

Re: PDF Header: Long article titles don't break properly...

Posted: 22 Jul 2011, 23:10
by l_dude_rhino
Hey Jan!
The standard settings didn't work, so I tried to change some values. I increased/decreased the page margins, changed the font, font size and alignment within the header. The problem is still there and I don't have any more ideas. I even changed the CSS settings for the article titles and the container around it, but it didn't work.

Re: PDF Header: Long article titles don't break properly...

Posted: 23 Jul 2011, 01:01
by Jan
Hmmm, then no idea there, maybe there needs to be some customization, I am testing now and works ok for me :idea:

Image

Jan

Re: PDF Header: Long article titles don't break properly...

Posted: 23 Jul 2011, 09:25
by l_dude_rhino
Hey Jan!

Thanks for your research. Something different came to my mind this morning. When I installed the component, I tried to copy the files you mentioned in the documentation:

Code: Select all

Copy the following Phoca PDF content and document files:

    * from administrator/components/com_phocapdf/files/pdf/pdf.php to libraries/joomla/document/pdf/pdf.php
    * from administrator/components/com_phocapdf/files/com_content/views/article/view.pdf.php to components/com_content/views/article/view.pdf.php
    * from administrator/components/com_phocapdf/files/com_content/views/article/tmpl/default.php to components/com_content/views/article/tmpl/default.php
    * from administrator/components/com_phocapdf/files/com_content/views/category/tmpl/blog_item.php to components/com_content/views/category/tmpl/blog_item.php
    * from administrator/components/com_phocapdf/files/com_content/views/featured/tmpl/default_item.php to
      components/com_content/views/featured/tmpl/default_item.php
I don't know what I made wrong, but I can't find these files/folders in the location you mentioned. They aren't included in the install-package and so they're logically missing in the later joomla-component-folder.

Thanks so far,
Stephan

Re: PDF Header: Long article titles don't break properly...

Posted: 25 Jul 2011, 16:43
by Jan
Hi, then recheck if you have clicked on Full Install while installing of Phoca PDF

Re: PDF Header: Long article titles don't break properly...

Posted: 25 Jul 2011, 19:52
by l_dude_rhino
Jan wrote:Hi, then recheck if you have clicked on Full Install while installing of Phoca PDF
I did. I installed the package for another joomla-website (both ver. 1.5.23), it didn't work either.
In the specified folder administrator/components/com_phocapdf/files/ is only one subfolder, labeled 'phocapdf'. The files you said to be copied don't even exist in the installation-package (com_phocapdf_v1.0.9.zip), so where should they come from?

Re: PDF Header: Long article titles don't break properly...

Posted: 26 Jul 2011, 00:22
by Jan
Hi, the guide is for 1.6 only, in 1.5 there is no need to modify article files as they include pdf icon.

Jan

Re: PDF Header: Long article titles don't break properly...

Posted: 26 Jul 2011, 09:51
by l_dude_rhino
Ah, ok. I didn't notice that, my fault. :x
Nevertheless, it doesn't work and I don't have a clue, why.

Re: PDF Header: Long article titles don't break properly...

Posted: 15 Sep 2011, 10:56
by dios67
Hi there!

Is there a solution existing for this problem, now?
Otherwise we could not use phoca-pdf!

Regards
Dirk