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 » Need help with ezwt frontend toolbar

Need help with ezwt frontend toolbar

Need help with ezwt frontend toolbar

Tuesday 27 May 2014 10:41:07 am - 4 replies


in my company we are planning to switch over to EZ Publish as our new internal CMS. To gain basic experience in handling it, we are currently running a demo site based on the 2014.03 Release.

My coworker visited a training course a few weeks ago and noticed that the modification toolbar she was working with on the frontend wasn't displayed. From what I found out so far, she had been using the V4 in this treinign course or the toolbar she had was properly implemented. As the only one in my company who has advanced knowledge in PHP I got the job to implement the toolbar.

The problem is, that I have never been working with Symfony or eZ before and any part of the eZ documentation or blog post I have found so far seems to expect that I know for example the legacy module structure of V4, the new structure of V5 e.g. Symfony in detail. I also didn't find a real quickstart quide in which I can see what I basically need to know in a few minutes.

Also, the only real sources concerning my problem I found are those two:

Following Matthieus blog post I was at least able to manage adding the legacy include to the pagelayout.html.twig, but when It comes to loading the legacy modules I completely pass out. In my parameters.yml I already got this code:

    ezpublish_legacy.default.view_default_layout: 'eZDemoBundle::pagelayout.html.twig'

But in the documentation it is suddently talking about an "AcmeDemoBundle"?!?

Also, I don't understand why I need an own my_module_layout.html.twig when I already have a pagelayout.html.twig with this "content block" defined and a pagelayout_legacy.html.twig, which extends from it to display this block.

But no matter which configuration I use, I never get those content/action buttons ont the toolbar to work.Currently, my parameters.yml looks like this:

# This file is auto-generated during the composer install
parameters:    secret: ThisTokenIsNotSoSecretChangeIt    
<span>locale_fallback: en    </span>

ezpublish_legacy.default.view_default_layout: 'eZDemoBundle::pagelayout.html.twig'
ezpublish_legacy.ezdemo_site_group.view_default_layout: <span style="font-size: 1.1em;">'eZDemoBundle::pagelayout.html.twig'</span>

ezpublish.content_view.content_block_name: content

But I don't even know if this is the proper setu or if I really should use the files located "under vendor\ezsystems\demobundle\EzSystems\DemoBundle\Resources\views" 

Can anyone please give me a hint what I have to do?


Kind Regards,


Tuesday 27 May 2014 10:51:01 am

Hi Thibaud

have you looked at the new documentation? gives (a little bit) more information on this topic.

Hope this helps (never tried it myself so far...)

Tuesday 27 May 2014 11:18:32 am

Hi Donat, thanks for your reply!

I think I came across this part of the documentation as well yesterday. The problem is that It may renders the toolbar, but the functionality for the action buttons doesen't work, I'm always getting an Error 500 when I try to create an article for example.

Could it propably have something to do with my vhost configuration?

Tuesday 27 May 2014 4:00:43 pm

maybe you have more luck dong a installation form git until next community version is out, cause seems like you have some issues with your install.


afaik you should have toolbar out of the box when you login on frontend.

Tuesday 27 May 2014 5:14:49 pm

Hey André, thanks for your input!

Okay, this at least explains why I found that few information on my issue.

I'll see what I can do about a GIT-Install, the problem is that we

a)currently only have a windows server and
b)that our server is NOT connected to the internet.(For network security reasons I assume)

This means I would have to download and install it locally and then move it to our server via VPN Connection or linked network drive. I bet at least one part of this Idea won't work as I hope. ^^


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

36 542 Users on board!

Forums menu

Proudly Developed with from