Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anson Cheung's Blog:
Create nodes in eZ Publish using PHP
May 11, 2012 @ 16:37:47

In this new post from Anson Cheung, he shows you a way to easily create nodes in an eZ Publish-based application, importing content, XML and files/files.

Node creation in eZ Publish by using PHP is not well documented. However, when you encounter a large number of contents need to be insert periodically. You would ask is there any way to automate the content insert function with script in eZ Publish??? Any here I am going to summarize the way to achieve.

He includes the code examples showing how to:

  • Set the creator
  • Import generic content and attaching it to a parent node
  • Importing some XML content
  • Adding an image or file record that points to a local file
tagged: ezpublish create node tutorial

Link:


Trending Topics: