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
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
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
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
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 Commander
Phoca Commander is Joomla! CMS component - it is dual panel file manager working in Joomla! cms.
3.10
4.x
5.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
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
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 guide describes migration of Phoca Gallery (Phoca Download) component from Joomla! 1.5 to Joomla! 2.5 (1.7). Described migration steps can be used for other Phoca extensions in similar way.
 
There are two areas which should be converted:
  • Files: in case Phoca Gallery these are images and thumbnails, in case Phoca Download these are all downloadable files (preview and play files)
  • Data in database: all information about Phoca Gallery images and Phoca Download files stored in database.

 

To export/import files you will need FTP manager
To export/import data you will need phpMyAdmin application (runs on most webhosting servers).

 

Joomla! 1.5 (exporting site)

Be sure you have installed latest Phoca Gallery (Phoca Download) version on your Joomla! 1.5 site. If not, just upgrade to latest version:
  • Phoca Gallery: 2.8.0
  • Phoca Download: 1.3.9.

 

Exporting files (Joomla! 1.5)

 

Connect to your server with FTP client and navigate to Joomla! root folder. Copy the following folders (include all subfolders and files) to your PC (to some temporary backup folder) from your server:

Phoca Gallery:
[images/phocagallery] folder
Phoca Download:
[images/phocadownload] folder
[phocadownload] folder - in case you are using your own folder for Phoca Download files, then just copy your folder.
 
Now you have backed up all your files and folders from Phoca Gallery (Phoca Download)
 
 

Exporting data (Joomla! 1.5)



Login to your phpMyAdmin application, select database where all data of your Joomla! site (old site - Joomla! 1.5) are stored.
 
Click on Export folder.
 
Migration - Export folder
 
Select tables you want to backup (All Phoca Gallery tables but not all Phoca Download tables, select all Phoca Download tables except Sections - jos_phocadownload_sections and Settings - jos_phocadownload_settings - such tables are not more used in Joomla! 1.7).
 
Migration - Export Phoca Gallery
 
Migration - Export Phoca Download
 
 


In Output settings select: Set output to a file (to store the sql queries in file).
 
Migration - Save output to a file


In Dump table option set data (only data will be backed up, not table structure).
 
 


As Syntax to use when insterting data set both of the above.
 
 
Migration - Syntax to use when inserting data


Save the backup (sql queries) as e.g. phocagallery.sql (phocadownload.sql). Now all data Phoca Gallery or Phoca Download data of old Joomla! 1.5 site are backed up.



Joomla! 2.5 or 1.7 (importing site)


Be sure you have installed the latest Phoca Gallery (Phoca Download) version on your Joomla! 1.7 site. If not, just upgrade to latest version:
  • Phoca Gallery: 3.1.0 (the latest version when this guide was written)
  • Phoca Download: 2.1.1 (the latest version when this guide was written).



Importing files (Joomla! 2.5, 1.7, 1.6)

 
Connect to your server with FTP client and navigate to Joomla! root folder and copy the following folders (include all subfolders and files) from your PC (from the temporary folder created to backup files from old Joomla! site) to your server:

Phoca Gallery:
[images/phocagallery] folder
Phoca Download:
[images/phocadownload] folder
[phocadownload] folder - in case you have set your own folder for Phoca Download files, then just copy your folder.


Now Phoca Gallery (Phoca Download) should include all images (files) from your old Joomla! site.



Importing data (Joomla! 2.5, 1.7)

 
You need to set your own database prefix, in examples the jos_ is used but you should use your own database prefix (be aware, it can be different for both sites, in such case you need to overwrite prefix from backed up old site to prefix used on your new site).
Example:
Joomla! 1.5 used jos_ prefix
Joomla! 2.5 (1.7, 1.6) will use notjos_ prefix
After backuping and before importing sql queries you need to replace all jos_ strings to notjos_ strings in stored backup file. Just open the phocagallery.sql or phocadownload.sql file and replace the prefix by the table names.
 
All import actions must be done directly after installation of Phoca Gallery (Phoca Download) in Joomla! 2.5 (1.7). All Phoca Gallery (Phoca Download) database tables must be empty before importing data from backup file.
 
Login to your phpMyAdmin application, select database where all data of new Joomla! site are stored (new site - Joomla! 2.5 (1.7)).
 
Click on Import folder.
 
Migration - Import folder
 


Select file with backup from your disc (phocagallery.sql or phocadownload.sql).
Click on Import (Go) button.
Now all data are imported to your new Joomla! site.
 

Some minor changes must be done.

 
Click on SQL folder (still in phpMyAdmin) and paste the following SQL queries into textarea field Run SQL query/queries on database:
 
Migration - SQL
 
For Phoca Gallery:
UPDATE `jos_phocagallery` SET `language` = '*';
UPDATE `jos_phocagallery_categories` SET `language` = '*';
UPDATE `jos_phocagallery_comments` SET `language` = '*';
UPDATE `jos_phocagallery_fb_users` SET `language` = '*';
UPDATE `jos_phocagallery_img_comments` SET `language` = '*';
UPDATE `jos_phocagallery_img_votes` SET `language` = '*';
UPDATE `jos_phocagallery_img_votes_statistics` SET `language` = '*';
UPDATE `jos_phocagallery_tags` SET `language` = '*';

 

For Phoca Download:
UPDATE `jos_phocadownload` SET `language` = '*';
UPDATE `jos_phocadownload_categories` SET `language` = '*';
UPDATE `jos_phocadownload_file_votes` SET `language` = '*';
UPDATE `jos_phocadownload_file_votes_statistics` SET `language` = '*';
UPDATE `jos_phocadownload_licenses` SET `language` = '*';
UPDATE `jos_phocadownload_tags` SET `language` = '*';
UPDATE `jos_phocadownload_user_stat` SET `language` = '*';

 

and click on Submit Query.
 
Language of all tables are set to All (*). Of course can be set to other langauge if used (en-GB, de-DE, ...)
 
Now all Phoca Gallery data are imported.
 
If access was not set in Phoca Gallery in Joomla! 1.5 and all categories are public, likely, you need to run the following queries:
 
UPDATE `jos_phocagallery_categories` SET `access` = '1';
 
 
Be aware, queries above set access of all Phoca Gallery categories to public.
 
 
If access was not set in Phoca Download in Joomla! 1.5 and all files and categories are public, likely, you need to run the following queries:
 
UPDATE `jos_phocadownload` SET `access` = '1';
UPDATE `jos_phocadownload_categories` SET `access` = '1';
 
 
Be aware, queries above set access of all Phoca Download categories and files to public.
 
In Phoca Download, there are no more sections. So if your Joomla! 1.5 included Phoca Download sections and you want to use such structure in new Joomla! 2.5 (1.7, 1.6) site, you need to create new categories (parent categories) and assign existing categories to such parent categories (in Joomla! administration, in Phoca Download Categories View).
 
If you find this article not complete, please inform about this in Phoca Forum. Thank you.
 
 

Phoca Guestbook Migration

See guide above, the database tables to export are:
  • jos_phocaguestbook_books
  • jos_phocaguestbook_items

There are no files and folders to export/import.

These sql queries should be run after database data import:

UPDATE `jos_phocaguestbook_books` SET `language` = '*';
UPDATE `jos_phocaguestbook_items` SET `language` = '*';
If access was not set in Phoca Guestbook in Joomla! 1.5 and all guestbooks and posts are public, likely, you need to run the following queries:
 
UPDATE `jos_phocaguestbook_items` SET `access` = '1';
UPDATE `jos_phocaguestbook_books` SET `access` = '1';
 
 

Phoca Maps Migration

See guide above, the database tables to export are:
  • jos_phocamaps_map
  • jos_phocamaps_marker

Files from following folder should be copied:

[phocamapskml] folder

These sql queries should be run after database data import:

UPDATE `jos_phocamaps_map` SET `language` = '*';
UPDATE `jos_phocamaps_marker` SET `language` = '*';
 
 

Phoca Restaurant Menu Migration

See guide above, the database tables to export are:
  • jos_phocamenu_config
  • jos_phocamenu_day
  • jos_phocamenu_email
  • jos_phocamenu_group
  • jos_phocamenu_item
  • jos_phocamenu_list

There are no files to be copied.

These sql queries should be run after database data import:

UPDATE `jos_phocamenu_config` SET `language` = '*';
UPDATE `jos_phocamenu_day` SET `language` = '*';
UPDATE `jos_phocamenu_email` SET `language` = '*';
UPDATE `jos_phocamenu_group` SET `language` = '*';
UPDATE `jos_phocamenu_item` SET `language` = '*';
UPDATE `jos_phocamenu_list` SET `language` = '*';

 

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