[Neos] No operation which satisfies the runtime constraints found for "context".

Christian Müller christian.mueller at typo3.org
Sat Jun 21 23:33:14 CEST 2014


Hi Tomiţă,

Tomiţă MILITARU wrote:
> Hello,
> 
> I have a website with 3 languages, simulating using 3 page trees:
> Root Page (shortcut)
>   - DE (page)
>   - DK (page)
>   - EN (page)
> 
> I need to make a footer that would be different in content for each of the
> 3 languages, so I've made a ContentCollection as a child node on the page.
> Using a Case condition I would like to render different footers located on
> each website "root" (this case: de, dk & en).
> Here is the code:
> http://pastebin.com/eE1zZpwr

 ${${

There must be something wrong with your code. Try:

condition = ${Array.indexOf(q(node).parents().get(),
q(site).find('de').get(0)) != -1}

> 
> But I get the exception:
> http://pastebin.com/kW00ujmh
> No sure why since the content collection is cached and I know I need to
> specify context only if I use uncached.
> 
> Any ideas?
> 
> Thanks!
> 

Cheers,
Christian


More information about the Neos mailing list