Phoca PDF now showing content

I installed the plug-in into a Joomla 3.5.1 site. The plug-in wouldn’t run at all at first till I found a fix for that. I will try to list that one as well later.

The header and header line would print but nothing else. I found the following article that fixed this for me.

It was this code I needed:

      $document = &JFactory::getDocument();
$document->setHeader($this->getHeaderText($item, $params));

$item->article_text = $item->introtext;
$item->article_text .= $item->fulltext;

echo $item->text;

I hope this helps someone else out there…



Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.