This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Creating content using ez controllers

Creating content using ez controllers

Creating content using ez controllers

Wednesday 25 February 2015 11:13:39 pm - 6 replies

Hi everybody,

Used to work on ez4 projects, I'm currently developping my first ez5 projet.

Everything's working smoothly until now, and I'm now looking for a way to create content from the frontend (for a "share by mail" function), and I dont find the answer anywhere on the internet nor in the forums.

I'm trying to generate the form automatically from the class (Content Type) such as we used to do in ez4 using content/edit.

How can I do that? Is this feature already available in 5.3 or do I need to make the form from scratch and creating the content in the controller using the new Symfony API?

Thanks for your help,


Wednesday 25 February 2015 11:47:53 pm

Hi Julien,

take a look here

NetgenEzFormsBundle enables you to have forms for content type and create objects on the fly. It seems to me this could help you.

There is a demo controller in the repo that demonstrates the use 

Thursday 26 February 2015 2:23:09 pm

Thanks Ivan,

I've tried the solution. Unfortunately the email Field Type is not yet supported thus I cannot use it since I need Email fields. I will then turn to a custom solution.

It's sad that eZPublish doesnt give us a built-in symfony way for creating contents.

Thanks again,


Thursday 26 February 2015 7:28:16 pm

Hello Julien,

I am not sure why you think email field type is not supported because it is in fact supported:

I hope this helps!


Thursday 26 February 2015 7:37:02 pm

Heath,Julien ment that the type isn't supported in NetgenEzFormsBundle, and it isn't (yet).Julien, you're more then welcome to contribute to the bundle with the implementation for the email field type happy.gif EmoticonBest,Ivan

Thursday 26 February 2015 8:10:54 pm

Hello Ivan,

Thank you for explaining in greater detail! This really helps me understand.

Apologies for any confusion I might have added to the thread.

It sounds like pull requests are greatly accepted happy.gif Emoticon



Modified on Thursday 26 February 2015 8:11:26 pm by // Heath

Saturday 14 March 2015 1:50:15 pm

Know that we are working on that on our end.

The direction is, it seems, similar to what Netgen did with their FormsBundle. Our first target is ContentType editing, because it is required in PlatformUI (Content is done using JS). Fortunately, it is quite close from Content editing (actually it is more complex than Content), and most of the work should be reusable as a basis for integrated Content Forms.

We will try to publish the result of our analysis soon. Interested ?


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from