Phoca Forum - Latest Topics

Phoca Extensions

Powerful extensions for Joomla! CMS

Discover powerful Phoca extensions designed for Joomla or WordPress websites.
Phoca Cart
Phoca Cart is a shopping cart solution for Joomla! CMS. It extends Joomla! with new e-commerce features.
3.10
4.x
5.x
6.x
Phoca Gallery
Phoca Gallery is an image gallery for Joomla! CMS. It includes component, modules and plugins and allows users to display images or Youtube videos in many different styles.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
6.x
Phoca Download
Phoca Download is a download manager for Joomla! CMS. It includes component, modules and plugins and allows to add files to the site which can be downloaded by other users.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
6.x
Phoca Restaurant Menu
Phoca Restaurant Menu is a Joomla! component and allows creating menus for restaurant, cafeteria, fast food, school canteen, buffet, wineroom, etc. Menus can be displayed on a website, printed or emailed to customers.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
6.x
Phoca Guestbook
Phoca Guestbook is a guestbook component for Joomla! CMS. It includes different Captcha methods, bad words filter and option to block defined IP adresses. Users can leave messages with help of user friendly HTML editor.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
Phoca Photo
Phoca Photo is Joomla! CMS component. It extends Phoca Gallery with new design features.
3.10
4.x
5.x
Phoca PDF
Phoca PDF is a Joomla component. This component allows you to create PDF documents in Joomla CMS.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
6.x
Phoca Commander
Phoca Commander is Joomla! CMS component - it is dual panel file manager working in Joomla! cms.
3.10
4.x
5.x
5.x
6.x
Phoca Maps
Phoca Maps
Phoca Maps is Joomla! CMS component. It displays maps on your site.
1.5
1.6
1.7
2.5
3.10
4.x
5.x
6.x
Phoca Documentation
Phoca Documentation is a Joomla! component template override to display Joomla's articles, categories and sections as a documentation site, e.g. as User Manual, User guide, etc.
1.5
1.6
1.7
2.5
3.10
4.3
5.x
Phoca Favicon
Phoca Favicon is a Joomla! component. It is a simple component that generates favicon (favicon.ico) on your Joomla! site. You can change the favicon of your site whenever you like.
1.5
1.6
1.7
2.5
3.10
4.3
Phoca Panorama
Phoca Panorama is Joomla! CMS component - it displays panoramic images or interactive virtual tours.
3.x
Phoca Email
Phoca Email is a Joomla! component. It is very simple component with minimum features. Phoca Email is used for sending emails from other components like e.g. sending Invoice, Delivery Note or Receipt from VirtueMart component or it can be used to quickly send emails from Joomla! administration site.
1.5
1.6
1.7
2.5
3.10
4.3
5.x
6.x
Phoca Font
Phoca Font is a Joomla! component. This component adds support for using downloadable fonts in your Joomla! site. You can upload and select your own .ttf or .otf font files. Font included in this font file will be rendered on your site.
1.5
1.6
1.7
2.5
3.10
4.3
Phoca Install
Phoca Install is a Joomla! component. It is designed for developers or administrators. It is a base for creating advanced component which will have the following features: Copy stored files from installation ZIP package to Joomla! site and run SQL queries (listed in installation XML file) in Joomla! site.
1.5
1.6
1.7
2.5
3.x
4.x
5.x
6.x
Phoca SEF
Phoca SEF is a Joomla! component. This component doesn't create SEF links. It is a small component which has three main functions. It stores links from sites which end with 404 Error. It can redirect such links. It stores referring sites.
1.5
 
This article describes how to install Phoca PDF component in Joomla! 1.6, 1.7, 2.5

 

In Joomla! 2.5 the PDF feature is not more included. If you want to create PDF documents from your articles, you should install Phoca PDF component and Phoca PDF Content plugin. However, it''s not as easy as it looks. Joomla! 2.5 does not include links to PDF in article views and there is no event which allows you to insert PDF link through some plugin. It means, some of core Joomla! 2.5 content files needs to be edited (using system plugin to find place in Joomla! 2.5 where to insert PDF link was depreciated because of low efficiency).

 

Download

Download Phoca PDF component from the Phoca PDF download site. You get a ZIP file. Login into your Joomla! administration site and follow these steps:

Go to Extension Manager (Extensions - Extension Manager - Install). You can:

  • Upload Package File - select the Phoca PDF component ZIP file from your disc and click onUpload File & Install.
  • Install from Directory - you can upload Phoca PDF component ZIP file into your server directory and install it from this directory
  • Install from URL - you can install it from another URL.

After the ZIP package will be uploaded you get a screen with follwing options:

 

Full Install

Select this method in case you want to use Phoca PDF Content Plugin. Phoca PDF Installation process will try to do the following actions:
  • Install core Phoca PDF component
  • Backup the following core Joomla! content files:
    • components/com_content/views/article/tmpl/default.php to components/com_content/views/article/tmpl/default.php.bak
    • components/com_content/views/category/tmpl/blog_item.php to components/com_content/views/category/tmpl/blog_item.php.bak
    • components/com_content/views/featured/tmpl/default_item.php to components/com_content/views/featured/tmpl/default_item.php.bak
  • 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
This method will overwrite core Joomla! files. This can be successfull only if permissions and ownership of files and folders are set correctly on the server. After installation, please check if the above listed files were created on your server. If you are using template which overrides content view files, you need to modify the content files in your template by yourself. See the following installation method (Custom Install). It is recommended to backup your Joomla! files before using this method.

 

 

 

Custom Install

Select this method in case you don''t want to use Phoca PDF Content Plugin or you will modify core Joomla! content files by yourself e.g. because your template overrides content view files. No modifications will be done to core Joomla! files. Phoca PDF Installation process will try to do the following actions
  • Install core Phoca PDF component
  • Copy the following Phoca PDF 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
If you will use this method and you want to use Phoca PDF content plugin, you need to customize the core Joomla! content files.

 

Customizing Joomla! core content files:

 

Edit the following file (if your template overrides Joomla! content files, you need to edit this file in your template''s folder):

components/com_content/views/article/tmpl/default.php

line cca 34

 

FROM:

<?php if ($params->get(''access-edit'') ||  $params->get(''show_print_icon'') || $params->get(''show_email_icon'')) : ?>
<ul class="actions">
<?php if (!$this->print) : ?>

TO:

<?php$phocaPDF = false;if (JPluginHelper::isEnabled(''phocapdf'', ''content'')) {
include_once(JPATH_ADMINISTRATOR.DS.''components''.DS.''com_phocapdf''.DS.''helpers''.DS.''phocapdf.php'');
$phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($this->item, $params);
}?>
<?php if ($params->get(''access-edit'') || $params->get(''show_print_icon'') || $params->get(''show_email_icon'') || $phocaPDF) : ?>
<ul class="actions">
<?php echo $phocaPDF; ?>
<?php if (!$this->print) : ?>

 

Edit the following files (if your template overrides Joomla! content files, you need to edit these files in your template''s folder):

components/com_content/views/category/tmpl/blog_item.php

components/com_content/views/featured/tmpl/default_item.php

line cca 31

 

FROM:

<?php if ($params->get(''show_print_icon'') || $params->get(''show_email_icon'') || $canEdit) : ?>
<ul class="actions">
<?php if ($params->get(''show_print_icon'')) : ?>

TO:

<?php$phocaPDF = false;if (JPluginHelper::isEnabled(''phocapdf'', ''content'')) {
include_once(JPATH_ADMINISTRATOR.DS.''components''.DS.''com_phocapdf''.DS.''helpers''.DS.''phocapdf.php'');
$phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($this->item, $params);}?>
<?php if ($params->get(''show_print_icon'') || $params->get(''show_email_icon'') || $canEdit || $phocaPDF) : ?>
<ul class="actions">
<?php echo $phocaPDF; ?>
<?php if ($params->get(''show_print_icon'')) : ?>

 

 

Upgrade

Select this method in case you want to upgrade core Phoca PDF component files. No modifications will be done to core Joomla! files.

 

 
None of the above displayed methods installs Phoca PDF Content Plugin. Phoca PDF Content Plugin needs to be installed and enabled in Plug-in Manger.

 

Be aware, some of templates override content files, it means, the files to display content (article) are not used from com_content area but from template area. For example:

components/com_content/views/article/tmpl/default.php

is stored in:

templates/your-template/html/com_content/article/default.php

Then the template file needs to be overriden.

 

Using Joomla! cache system plugin

If Joomla! cache system plugin is enabled on your site, don''t set PDF Destination parameter to value: Inline Browser in Phoca PDF Content Plugin parameters. Use Inline Browser (Popup) instead (which is default). Cache system plugin does not create correct cache file if Inline Browser parameter is set.

 

100+
GitHub Projects
Arctic Code
Vault Contributor
12 Million+
Downloads
70 000+
Answered Questions
2 700+
Planted Trees