eZ Community » Forums » eZ Publish 5 Platform » Inject data in...
expandshrink

Inject data in ConfiguredContentViewProvider

Inject data in ConfiguredContentViewProvider

Sunday 04 November 2012 8:46:16 pm - 1 reply

Hello,

In a templates loaded through a ConfiguredContentViewProvider, I can't access the controller so I can't load other data than "content" (let's say I want to fetch the children nodes), how can I achieve that ? 

I am obliged to use a subrequest ?

 

Cheers,

Matthieu

Monday 05 November 2012 11:27:08 am

In general, you have to run subrequests to get other data. I would expect the chidlren nodes to be available when using the standard location view

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from