eZecosystem / Mirror / Share.ez.no Blogs

Selected tag: tip

In a previous blog post we covered how to create custom tags in eZ Platform (with the legacy bridge or eZ Publish 5.x). The most difficult part of that process was building the XSL to output the custom tag HTML. But there's a simpler way to do it, which allows the developer to use Twig template code instead of XSL.

09/20/2018 12:41 pm   share.ez.no/blogs   Mirror   Link  

One of our customer websites sells research reports where all of the content is built and managed in the eZ Publish content management system. These reports are served via HTML through a gated website portal. They wanted to add a dynamic PDF report generation feature (based on content in the CMS); the PDF template was highly customized with nice layouts and styles, cover and back pages, custom page breaks, and much more. Over the years we've had good experiences with the ParadoxPDF extension. However due to its lack of HTML5 + CSS3 support and relatively high server load, we decided to look for an alternative solution. We found that wkhtmltopdf does a great job at producing highly styled PDFs, and we were able to integrate it nicely with eZ Publish.

05/08/2015 09:43 am   share.ez.no/blogs   Mirror   Link   @2668

Until some time ago, it was necessary to hack the eZ Publish legacy kernel in order to customize its generic error message, "Fatal error: The web server did not finish its request". This error occurs on all eZ Publish installations whenever there is an HTTP 500 status server error. It is a very common error; some examples of how it's triggered include: trying to access the value of a non-existent object attribute; the use of a non-existent PHP class or function; and too much memory usage.

Now, since this pull request from Mugo has been merged to the eZ Publish kernel, we have made it possible to customize the error page without hacking the kernel. In this post I will show you the new standard way to do this with a simple INI setting and your own PHP function.

03/26/2015 10:22 am   share.ez.no/blogs   Mirror   Link   @14262

Google Analytics is the most popular tool for understanding how people are finding and using your site. In addition to its standard reports, you can use its User ID feature to get more fine-grained reporting about registered users. This enables you to better measure, anticipate, and meet or exceed your users' needs.

01/27/2015 10:05 am   share.ez.no/blogs   Mirror   Link   @13479

Links are one of the core elements of the web. Links within body content are not only good for user experience, but also for SEO, engagement, and conversion. As we read, for example, a sports article, there might be links on the athlete names pointing to their biography pages. Or, when reading an author's bibliography, the book titles contained therein might be linked to the book pages. Adding and maintaining such in-body links can be very time-consuming; systems that auto-link the text can be a great help for content publishers.

01/02/2015 10:39 am   share.ez.no/blogs   Mirror   Link   @2821

We recently added "quiz" functionality to eZ Publish by extending the eZ Survey extension. The purpose of this functionality is to enable companies to create "on-boarding" quizzes for new hires to learn about company policies and benefits.  This was part of a larger intranet implementation.

11/18/2014 05:50 pm   share.ez.no/blogs   Mirror   Link   @2813

Hello eZ Community! We write today to talk to you briefly about a little known feature in eZ Publish Legacy called 'Cronjob Mode'.

10/11/2014 05:05 pm   share.ez.no/blogs   Mirror   Link   @2884

Whenever you edit content in the eZ Publish Administration Interface, eZ Publish stores a new version. eZ Publish has a built-in feature to limit the number of previous versions it stores. However, as of the time of this posting, the eZ Publish 5.x public API to create and update content does not respect the version history limit (which, by default, stores 10 previous versions). We've written a quick function that restores this feature.

08/08/2014 05:49 pm   share.ez.no/blogs   Mirror   Link   @3061

Using virtual machines when developing eZ Publish websites have been useful in 2 main ways (if not more): working in a different server environment than your current machine and standardizing the dev environment for a team of developers. At the moment, I have Ubuntu 13.10 installed as my main operating system, and from time to time I need to work with some older eZ Publish versions that require PHP versions older than Ubuntu 13.10's default; in fact, the oldest eZ Publish version that I can run out of the box on Ubuntu 13.10 is eZ Publish 4.7. I don't like the idea of installing another OS just to work with an older eZ Publish version; that requires creating another partition, configuring grub, and so on. Using virtual machines enables me to work within another OS inside my main OS. That way I can work on a standardized environment specific to each client, while continuing to use my favorite base OS and tools. In this tutorial, I will describe how to install and configure Oracle VirtualBox to create virtual machines that run eZ Publish.

02/18/2014 10:30 am   share.ez.no/blogs   Mirror   Link   @26664

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/10/2014 07:06 am   share.ez.no/blogs   Mirror   Link   @2994

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/09/2014 06:56 pm   share.ez.no/blogs   Mirror   Link   @23773

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/09/2014 06:01 am   share.ez.no/blogs   Mirror   Link   @31341

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/08/2014 08:22 am   share.ez.no/blogs   Mirror   Link   @40502

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/07/2014 07:03 am   share.ez.no/blogs   Mirror   Link   @26767

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/06/2014 11:03 am   share.ez.no/blogs   Mirror   Link   @26932

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/06/2014 09:52 am   share.ez.no/blogs   Mirror   Link   @26813

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/06/2014 07:50 am   share.ez.no/blogs   Mirror   Link   @26799

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/05/2014 08:06 pm   share.ez.no/blogs   Mirror   Link   @3068

In this tutorial I will focus on eZ publish 5 with Symfony 2 development. I will show how to set up apache to dev, work twig templates, create routes, controllers, views, and then how to work with the eZ publish 5 PHP public API.

01/05/2014 08:06 pm   share.ez.no/blogs   Mirror   Link   @2981

The multisite feature in eZ publish allow us to create several web sites using just one eZpublish installation, it is possible by using the siteaccess feature, which is basically a set of settings that tells eZ publish how to behave according to URL that is being accessed. In this tutorial I will show how to customize layout and bundles for a certain siteaccess.

01/03/2014 09:12 am   share.ez.no/blogs   Mirror   Link   @13904

The multisite feature in eZ publish allow us to create several web sites using just one eZpublish installation, it is possible by using the siteaccess feature, which is basically a set of settings that tells eZ publish how to behave according to URL that is being accessed. In this tutorial I will show how to use multiple databases.

01/03/2014 07:56 am   share.ez.no/blogs   Mirror   Link   @13933

The multisite feature in eZ publish allow us to create several web sites using just one eZpublish installation, it is possible by using the siteaccess feature, which is basically a set of settings that tells eZ publish how to behave according to URL that is being accessed. In this tutorial I will show how to add a new siteaccess that displays the content in another language.

01/02/2014 01:32 pm   share.ez.no/blogs   Mirror   Link   @36171

In this video tutorial I show how to use the symfony 2 / twig translations feature in eZ publish 5.

12/31/2013 06:38 am   share.ez.no/blogs   Mirror   Link   @17638

In this tutorial I show how to debug php projects ( in this case eZ publish 5 / Symfony 2 bundles ).
I start showing how to install and configure xdebug to work with apache2 and command line. Then I show how to configure Netbeans to work with xdebug. I also show how to debug command line scripts, running with php cli.

12/30/2013 01:47 pm   share.ez.no/blogs   Mirror   Link   @2989

In this tutorial I will show how the template override system works in eZ publish 5 / Symfony 2.
I start giving a quick overview about content management in ez publish. I talk about content types, content objects, datatypes and locations. Then I create a custom content type, and a content object.
I also talk about how the template system works and how we can override templates, showing how to find the match rules.
BTW, It has been some time that I don't practice my english skills :)

12/30/2013 11:48 am   share.ez.no/blogs   Mirror   Link   @30964

In this tutorial I show how to extend and override eZ publish / Symfony 2 bundles.

12/28/2013 12:29 pm   share.ez.no/blogs   Mirror   Link   @39623

In this post I will provide a script that install the latest version of ez publish from github and uses a really simple extension to get started with ez publish development. The problem with the last script was that it rely on the ezsetup to complete the installation process, and it may be broken from time to time, so, if you wanna just try some of the github changes you can use this script.

12/06/2013 02:35 pm   share.ez.no/blogs   Mirror   Link   @12685

In this post I will provide a script to install ez publish from github.

12/05/2013 08:59 am   share.ez.no/blogs   Mirror   Link   @12608

Very short post to give you a simple tip using eZ Publish 5 API.

09/17/2013 08:19 am   share.ez.no/blogs   Mirror   Link   @2912