eZ Publish Developer / Specialist / Blog

blog

A blog about developing websites with the eZ Publish Content Management System. It contains material such as news, how-to articles, tutorials, template and PHP code, and specific solutions.

Stay up-to-date and subscribe to the blog's RSS feed.

maingfx

One of many new features in eZ publish 3.8 is the ability to use a custom edit handler. A custom edit handler is an extension (a PHP class) that enables you to perform actions based on user choices during the object editing process. You can add some extra POST data processing, connect to an external database , update data and much more, depending on your needs.

One of many questions on ez.no forums is how to store and output data from ezxmltext datatype using PHP code. Here are some examples which you can use in your eZ publish scripts.

In last tutorial have explained how to fetch eZ publish content objects with PHP. In this post I will show how to access eZ publish content objects attributes of all available datatypes. For testing PHP code we will re-use the same CLI script. This example you can re-use in your custom modules, cron jobs scripts, etc.
Thank you to Kristian Hole for his initial idea.

One of the most often used eZ publish functions is ?fetch?. There are a lot of examples in the new and old documentation that show how to fetch content in the eZ publish templates, but many users ask how to fetch eZ publish content objects using PHP.

Sometime ago I created few datatypes which are common in Poland. Today I have clean up code a little and packed them as collection of 3 independent extensions. I think Polish eZ publish users will find them useful. You can find installation instructions and download package from ez.no contribution section.

Appreciation?

My Amazon.com Wish List