• Home
  • Extensions
    • Components
    • Modules
    • Plugins
    • Phoca Cart
    • Phoca Cart Extensions
    • WordPress Plugins
  • Templates
  • Documentation
  • Download
  • Demo
    • Phoca Cart Demo
    • Phoca Cart Joomla 4 Demo
    • Restaurant Menu Demo
    • Joomla! 3 Demo
    • Joomla! 2.5 Demo
    • Joomla! 4 Demo
    • Stock Photos
    • Wallpapers Demo
    • Phoca Cart Demo (Joomla 5)
    • Joomla! Templates Directory
    • Templates Demo
    • Phoca And VirtueMart Demo
    • Phoca Restaurant Menu - WordPress Demo
  • News
  • Blog
  • Forum
  1. You are here:  
  2. Blog

Inkscape - Save As (Save As JPG, Save As WEBP, Save As PNG) Extension

19 February 2021

Phoca - Inkscape Save As extension is an Inkscape extension which allows you to export your image(s) to JPG, WEBP or PNG format. As default, Inkscape can export images to PNG but there is no option to export them to JPG or WEBP format.

There exist two GitHub projects that deal with the export of Inkscape images to JPG format but both are not more up-to-date for the newest Inkscape version.

Phoca - Inkscape Save As extension is inspired by both projects. It uses some code from both projects which was transformed to new Inkscape API and adds new options.

 


"Phoca


With Phoca - Inkscape Save As extension you can export images to JPG, WEBP or PNG format. There are three options:

  • Full page export
  • Selection area export - area of selected object(s) will be exported
  • Custom area export - area of manually added coordinates will be exported.

 


When using this extension, be aware:

  • This extensions requires ImageMagick library installed on your system
  • If the selected file has a different extension than the selected format then the file will be automatically renamed and may overwrite any existing file
  • Current files are overwritten automatically, there is no warning
  • When using the selection method, for more accurate and faster results, it is recommended to create one object that covers the area of all other objects, and only select this object when exporting.

 

Phoca - Inkscape Save As options

 

How to install this extension:

Just follow Inkscape guides for installing Inkscape extensions (download the ZIP package and unzip it to Inkscape extension folder and restart Inkscape)

Download
Forum
License

Possible issues and solution:

  • If you get error message that your system does not have Imagemagick library installed, there is no other option, this library needs to be installed
  • If you get error message regarding missing Python libraries, such needs to be installed on your system (e.g. if distutils library is missing on your linux system, just install it with "sudo apt-get install python3-distutils"
  • If you get error message regarding fragments (objects) when using selection method, for example: "Element fragment does not have a document root!" or similar, then just create one object that covers the area of all other objects, and only select this object when exporting.

Joomla! 4 - Disable the strict password strength rule on localhost pages

24 December 2020

I assume that anyone who can read and install a system like Joomla! CMS is aware that the following tutorial can only be applied to test pages, to localhost. Please do not apply this guide to a publicly accessible server under any circumstances.

Imagine that you regularly test development versions of Joomla! CMS on localhost, and when the installation script asks you for a login name and password, you simply enter 'admin' as the name and 'admin' as the password. This is how it worked in Joomla! 3. But since version 4, you need to enter a 12-digit password. This can be quite annoying for testing.

The following instructions describe how to remove this rule, and I repeat, do not do this on a production or public test page, as this would compromise your security.

After copying the installation files and folders to your localhost, open the following file:

installation/forms/setup.xml

and change the following line in this block


<field
    name="admin_password"
    type="password"
    label="INSTL_ADMIN_PASSWORD_DESC"
    description="INSTL_ADMIN_PASSWORD_LENGTH"
    id="admin_password"
    required="true"
    autocomplete="new-password"
    validate="password"
    strengthmeter="true"
    force="on"
    filter="raw"
/>

FROM:

validate="password"


TO:

validate=""


Then you will be able to enter your test name and password in the usual way.

Ang again - never do this on a publicly accessible server, only on your localhost.

Creating a website for restaurants

06 December 2020

Phoca provides all the tools you need to create a restaurant website. It all starts with Joomla! - content management system for creating websites. Joomla! has one of the most sophisticated systems allowing easy extension of the entire system. With help of extensions, you can build any type of website. There is a large number of Phoca extensions which extend Joomla! system. Following extensions are the most important extensions for creating a website for restaurants:

Phoca Restaurant Menu

Phoca Restaurant Menu makes it easy to create menus for restaurants, cafes, fast food, school canteens, buffets, bars, clubs, wine shops. Main features are:

  • Creating different menus (eight types of menus)
  • Displaying menus on website in different formats (HTML, PDF, Text, XML)
  • Sending menus in emails
  • Printing menus
  • Publishing menus on social media website through RSS or screenshots
  • Export or import of menus

Phoca Restaurant Menu - menu

 

Phoca PDF

Phoca PDF produces online PDF documents, so each Phoca Restaurant Menu menu can be rendered as PDF with help of Phoca PDF and its restaurant plugin.

 

Phoca Restaurant Menu, Phoca PDF - PDF menu

 

Phoca Cart

If you are interested in providing ordering options for your menus rather than displaying them, then the Phoca Cart component is ready for this purpose. Phoca Cart is powerful e-commerce platform which provides users with countless tools for online and offline sales of physical and digital products.

Phoca Cart - order items

 

Phoca POS

Phoca POS is a part of Phoca Cart component. It is a point of sale system ready for waiters and restaurant managers.

 

Phoca Gallery

Phoca Gallery is popular image gallery system which allows users to display images or YouTube videos on websites in many different forms. Images are one of the most important part of your website. All of them can be easily managed by Phoca Gallery and displayed by many different ways on your website.

 

These are the important extensions when creating websites for restaurants. But there are many other necessary extensions:

 

Phoca Open Graph plugins

Phoca Open Graph content plugin and Phoca Open Graph system plugin display open graph data of your articles or another content on your site.

 

Phoca Prticles module

Phoca Particles module displays different HTML parts on your site. The main advantage is simplicity of their creation.

 

Phoca Particles module

 

 

Phoca Photo

Phoca Photo provides an alternative way to display images on your site.

Phoca Maps

Display location of your restaurant to your customers on a map with help of Phoca Maps.

Phoca Email

Phoca Email allows you to display newsletter feature on your site.

 

 

 

Best eCommerce Phoca Cart Joomla Template - Sirena

30 October 2020
 

 

Best eCommerce Phoca Cart Joomla Template - Sirena


Are you planning to launch an e-Commerce website on Joomla and looking for the best premium template for your web store? Then look no further. Our friends at JoomForest have a JF Sirena - a premium class advanced Joomla template powered by Phoca Cart, with lots of special and unique features that will amaze your website visitors.



Sirena is a multipurpose Joomla template based on Gantry 5 framework, with lots of premium features and elements, such as 22 pre-made pages, responsive, more than 48 typography elements, advanced mega menu, smooth animation, unique sections, and positions, etc. The more details you can find on their website. Right now here we will focus on unique and special features that template has for Phoca Cart.


Beautiful Panel for 'Products Cart'

Beautiful Panel for 'Products Cart' module

Sirena comes with a beautiful Right Panel position section, where you can publish any module, including our Products Cart module. Its unique expandable animation will take your website to the next level in eyes of your customers.


Beautiful Panel for 'Products Search'

Panel for 'Products Search' module

Sirena has another beautiful Search Panel position section, where you can show our Phoca Cart Products Search module, which also comes with unique stylish expandable animation.


Beautiful Panel for 'Products Filter'

Beautiful Panel for 'Products Filter' module

Sirena has a unique module layout for the Products Filter module, in module manager you can simply choose the specific layout and it will show up the same way as you see on the screenshot.


Products Zoom & Image Lightbox

Products Zoom & Image Lightbox

By default, our Phoca Cart has its own addon - Image Zoom plugin, which you need to install as a plugin in addition, also by default Phoca Cart has its own core system image lightbox. But JoomForest added in Sirena more advanced inbuilt lightbox and photo zoom effect on product items, so it doesn't require to use of our plugin. You can find out more details on the live demo.


Special layouts for 'Currency', 'Wish List' & 'Compare' modules

Special layouts for 'Currency', 'Wish List' & 'Compare' modules

Also, Sirena comes with its own stylish layouts for our Currency, Wish List and Compare Phoca Cart modules.


Unique layout for 'Sales Countdown'

Unique layout for 'Sales Countdown' module

It is very eye-catching the unique layout for the Phoca Cart Sales Countdown Timer module.


Light, Dark and Vertical layout for 'Product Scroller'

Light layout for 'Product Scroller' module

Sirena has three different layout styles for our Product Scroller module. One of them is the Light version which you see above on the screenshot.

Dark layout for 'Product Scroller' module

The 2-nd layout style is the Dark version of it, which can be used for darker sections of the site.

Vertical layout for 'Product Scroller' module

The 3-rd one is the Vertical styling, with smaller product image thumbnails, which can be used to show, for example, some popular products in smaller parts of the site.


Pre-Built e-Commerce pages

Pre-Built e-Commerce pages

Sirena comes with more than 6 ready-made shop demo pages, using their Quickstart package you can quickly build an e-commerce website you need.


We are happy to share you with an exclusive 25% discount (valid until November 15, 2020) on Sirena subscription plans:

Coupon Code: see this forum topic

If you’re looking for an awesome design for your next online store, Sirena is the best choice to start with. JoomForest provides professional Joomla templates and services for more than 9 years, and they provide high-quality support services for their premium templates.

  • Sirena Live Demo
  • Give Sirena a try now.

Solution to a problem that arises when updating components

29 October 2020

The most problematic part when updating components in Joomla! CMS is the update of the database tables and their columns.

Extensions (components) do not install themselves in Joomla! CMS. They are installed by Joomla! extension manager which uses SQL update files to update table columns in database.

It sometimes happens that the update is not performed correctly, because the SQL file tries to add a column to the database table that already exists there. Unfortunately, there is no workable method to determine if a column already exists inside static SQL file and the installation ends with an error.

Commands like: ALTER TABLE ... ADD COLUMN ... end with error in case that the required column already exists in the database. This is valid for MySQL database, not for MariaDB database. In MariaDB database, you can use ALTER TABLE ... ADD COLUMN IF NOT EXISTS ... This command would solve all problems. But the problem is, there is no difference between MySQL and MariaDB driver in Joomla! CMS. So we cannot use this MariaDB command because it will throw an error in MySQL database.

In short: all problems with updating columns would be solved by the "IF NOT EXISTS" command part, which does not exist for one database, and where it exists, it cannot be used because it would cause an error in another database.

So, if you get following screen when installing component, mostly the update SQL file needs to be found and the SQL command needs to be commented or removed manually.

 

This action should be done mostly by advanced users who have the knowledge to search in files and edit them:

1) SQL update files can be found in ZIP installation package, for example in Phoca Cart installation package, you can find them in following folder:

- ZIP: admin/update/sql/mysql

2) Unzip the installation ZIP package, go to the above mentioned folder and search in files for the column name which was displayed in error message.

3) Open the file where this column name occurs and comment the whole SQL command (starting with ALTER TABLE ...) or delete it (Comments in SQL files are set per double dashes (--))

For example FROM:

ALTER TABLE `#__phocacart_product_stock` ADD COLUMN `sku` varchar(255) NOT NULL DEFAULT '';
ALTER TABLE `#__phocacart_product_stock` ADD COLUMN `ean` varchar(15) NOT NULL DEFAULT '';

TO:

-- ALTER TABLE `#__phocacart_product_stock` ADD COLUMN `sku` varchar(255) NOT NULL DEFAULT '';
-- ALTER TABLE `#__phocacart_product_stock` ADD COLUMN `ean` varchar(15) NOT NULL DEFAULT '';

 

4) ZIP the installation package back (including newly edited files) and try to install the component again.

 

Phoca Cart 3.5.4

If you get the problem when updating Phoca Cart to version 3.5.4 and the problematic column is "sku" or "ean", you can try to install prepared package where the SQL commands were commented. There is no need to do manual changes described above. The package is ready to install (it does not include the SQL queries which are problematic).

Download alternative Phoca Cart version 3.5.4 and install it in Joomla! extension manager.

  1. Phoca Gallery Roadmap 2020 - 2021
  2. Phoca Cart - Audits - Accessibility: 100%, Best Practices: 100%, SEO: 100%
  3. New Features In Phoca Cart 3.4.0
  4. Displaying maps on website
  5. Current status of Joomla! 4 administration template development

Page 6 of 7

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Logo Facebook Logo Twitter Logo Youtube Logo Github Logo Pinterest
Phoca News
Phoca Latest Files
Subscribe to our newsletter

Misc

  • Joomla! Framework API
  • Phoca Cart API
  • Phoca Gallery API
  • Phoca Download API
  • Color Scheme Generator
  • CSS Flags
  • Flag Icons
  • Wallpapers
  • Newsletter
  • Support
  • Development
  • Phoca Team
  • Ecommerce Blog
  • Books

Documentation

  • Documentation
  • Phoca Cart documentation
  • Phoca Gallery documentation
  • Phoca Download documentation
  • Phoca Restaurant Menu documentation

Download

  • Download site
  • Phoca Cart download
  • Phoca Gallery download
  • Phoca Download download
  • Phoca templates download

Demo

  • Extension demo
  • Extension Demo (Joomla 3)
  • E-commerce demo
  • Phoca Cart demo
  • Wallpapers demo
  • Stock photo demo
  • Restaurant Menu demo
  • Phoca
  • Documentation
  • Download
  • Forum
  • News
  • Cookie Policy
  • Privacy Policy (GDPR)
  • Contact
© Phoca 2026
Phoca and this site is not affiliated with or endorsed by The Joomla! Project™.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.