Category Name + Article Title in PDF

Phoca PDF - creating PDF documents in Joomla! CMS
bruzzler
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2011, 09:36

Category Name + Article Title in PDF

Post by bruzzler »

Hi,

how can I integrate the title of the article as well as the category into the header? I'm too stupid or whatever, I can't get it done with the content plugin..
I've put {phocapdfheader} and {phocapdftitle} into the header desc. but only the title is displayed, but not the category. If I leave the header desc. empty I only get the category.
Strange.. Seems like the "replace" in the php file doesn't work.
Please help

Thanks for help
André
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Name + Article Title in PDF

Post by Jan »

Hi, there is no such option for category, so this needs to be customized in the code - somehow get info about category from database and render it in header manually :-(

Jan
If you find Phoca extensions useful, please support the project
bruzzler
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2011, 09:36

Re: Category Name + Article Title in PDF

Post by bruzzler »

But if i leave it empty, the category name will be displayed in the pdf...so this feature is available, isn't it?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Name + Article Title in PDF

Post by Jan »

Hi, yes, but not through the plugin code :-(
If you find Phoca extensions useful, please support the project
Post Reply