Loading...
April 11, 2010#

Creating nodes in PHP with eZ Publish

There are many threads which detail creating objects in PHP but they all seem to do things slightly differently. Many of the posts are very old and out of date and so they use a very convoluted way of creating objects. Since eZ Publish 3.9 there’s been a much better approach to take but it is very well hidden the documentation and forums. Here’s a summary of how you can use it.
Continue Reading

April 10, 2010#

Using standard PHP functions in eZ Publish

Although many standard PHP functions are available in eZ Publish (usually with very different names) there are also a large number which are not available. This seems especially to be the case with the templating functionality for Strings. Common PHP tasks such as str_replace are just not available. There are two simple solutions for this.
Continue Reading