eZ Community » Forums » eZ Publish 5 Platform » eZFlow on eZPublish5.3
expandshrink

eZFlow on eZPublish5.3

eZFlow on eZPublish5.3

Wednesday 30 July 2014 3:33:35 pm - 2 replies

Hello everyone,

I've been trying to work with eZFlow on eZPublish5.3 using a Symfony bundle.

Some information about this I saw on doc.ez.no:
https://doc.ez.no/display/EZP/The+Page+FieldType#ThePageFieldType-ExampleExample

https://doc.ez.no/display/EZP/Import+settings+from+a+bundle

Also looked at the forum:
http://share.ez.no/forums/ez-publish-5-platform/how-to-render-ezflow-blocks-in-twig-templates/(language)/eng-GB

The main thing here is that even when I configure my ezpublish.yml to use a twig template, the route doesn't match.

I tried installing a clean version with the eZFlow extension (http://packages.ez.no/ezpublish/5.3/5.3.0/ezflow_site_clean.ezpkg) but legacy_mode was enable by default and my bundle twig templates aren't working. 

Feels like i'm walking in circles here!

Does anyone can give me some clean direction?!

Modified on Wednesday 30 July 2014 4:36:39 pm by Alexandre Martins

Wednesday 30 July 2014 3:52:38 pm

Hi Alexandre,

I once used flow with ez5 and rendered layout and everything using controllers.
There are some objects/methods you need to use (only available in symfony as a service -> php).

Basically you get the value from the page-type and hand it over to a controller/service (overriding the ez_render_field-template for the page-type is also an option).
Rendering the layout (zones), handing over the blocks to controllers and fetching the nodes with the service i mentioned above.

From there on everything should be incremental.

When I'm home i can check for a sample of a private profile of mine, but this will take till weekend.
Sorry for that.

Wednesday 30 July 2014 4:11:18 pm

Hi Steve,

Thanks for your reply.

Just to see if I got it, I'll need to build a controller to handle the layout? Because the examples I saw on doc.ez.no are using eZ controllers.

I also saw on eZDemoBundle the ezpage.yml file and searching the web some infos about overriding the legacy templates with my bundle twig templates would work... but I couldn't make it work.

Maybe your samples will help me understand it better.

Modified on Thursday 31 July 2014 3:40:54 pm by Alexandre Martins

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from