eZ Community » Forums » eZ Publish 5 Platform » [eZ 5]Display object/node array content
expandshrink

[eZ 5]Display object/node array content

[eZ 5]Display object/node array content

Wednesday 06 May 2015 2:33:14 pm - 1 reply

Hello everybody,

I tried to find the information in the documentation, without success.

In eZ 4.x there was a command for display an object or node content like this

 {$foo | attribute(show,x)}

I start to learn the new stack for a future big jump from legacy to platform and I would like to know if there is something like that in eZ 5.
I saw the "Stash" section in symfony profiler who seems display those informations (maybe I'm wrong), but it's not a really friendly view for reading.
Does a similar command than eZ 4.x exist with symfony stack ? Or something else for have a most friendly view ?

 

Thanks for help

 

Edit : @Soufian : thank you ! happy.gif Emoticon

Modified on Thursday 07 May 2015 9:23:25 am by Patrick P.

Wednesday 06 May 2015 3:40:05 pm

Hello Patrick,

You cas use the dump function in your twig templates:

http://twig.sensiolabs.org/doc/functions/dump.html

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from