Skip to content

Commit

Permalink
3.0.11
Browse files Browse the repository at this point in the history
3.0.11
  • Loading branch information
PhocaCz committed Nov 30, 2020
1 parent bbef677 commit ca4a50e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



![Phoca PDF](https://github.com/PhocaCz/PhocaPDF/blob/master/phocapdf.png)
![Phoca PDF](https://github.com/PhocaCz/PhocaPDF/blob/master/phocapdf.png?raw=true)

# Phoca PDF

Expand Down Expand Up @@ -61,7 +61,7 @@ Phoca PDF is Joomla! CMS component. It helps to set and create PDF documents in

## Version

3.0.10
3.0.11



Expand Down
9 changes: 9 additions & 0 deletions admin/files/com_content/views/article/view.pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,15 @@ function display($tpl = null)

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

// Change the item output - e.g. add intro image to the content
JPluginHelper::importPlugin('phocapdf', 'content');

//$content = new JObject();
//JFactory::getApplication()->triggerEvent('onBeforeCreatePDFContent', array (&$content));
//JFactory::getApplication()->triggerEvent('onBeforeRenderOutputContent', array (&$item, $content));
JFactory::getApplication()->triggerEvent('onBeforeRenderOutputContent', array (&$item));


echo $item->text;
$document->setArticleText($item->article_text);
Expand Down
1 change: 0 additions & 1 deletion admin/install/mysql/index.html

This file was deleted.

Empty file.
Empty file.
6 changes: 3 additions & 3 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
- Phoca PDF plugins. ]]></description>
<element>com_phocapdf</element>
<type>component</type>
<version>3.0.10</version>
<infourl title="Phoca PDF 3.0.10">http://www.phoca.cz/version/index.php?phocapdf=3.0.10</infourl>
<version>3.0.11</version>
<infourl title="Phoca PDF 3.0.11">http://www.phoca.cz/version/index.php?phocapdf=3.0.11</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaPDF/releases/download/3.0.10/com_phocapdf_v3.0.10.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaPDF/releases/download/3.0.11/com_phocapdf_v3.0.11.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
Expand Down
Binary file modified phocapdf-release.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions phocapdf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension type="component" method="upgrade" version="3.9">
<name>com_phocapdf</name>
<author>Jan Pavelka (www.phoca.cz)</author>
<creationDate>17/05/2020</creationDate>
<creationDate>30/11/2020</creationDate>
<authorEmail></authorEmail>
<authorUrl>https://www.phoca.cz</authorUrl>
<copyright>Jan Pavelka</copyright>
<license>GNU/GPL</license>
<version>3.0.10</version>
<version>3.0.11</version>
<description>COM_PHOCAPDF_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>
<projectName>PhocaPDF</projectName>
Expand Down

0 comments on commit ca4a50e

Please sign in to comment.