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

Phoca PDF - creating PDF documents in Joomla! CMS
l_dude_rhino
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Jul 2011, 23:24

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, did you try to resize the header area (margin of site and header)?
If you find Phoca extensions useful, please support the project
l_dude_rhino
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Jul 2011, 23:24

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
l_dude_rhino
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Jul 2011, 23:24

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, then recheck if you have clicked on Full Install while installing of Phoca PDF
If you find Phoca extensions useful, please support the project
l_dude_rhino
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Jul 2011, 23:24

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

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
l_dude_rhino
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Jul 2011, 23:24

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

Post 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.
dios67
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Sep 2011, 10:37

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

Post by dios67 »

Hi there!

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

Regards
Dirk
Post Reply