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

Tomiţă MILITARU militarutomita at gmail.com
Sun Jun 22 02:25:26 CEST 2014


Hi Christian,

I've removed the "${${" block, but same problem.
Adding a single footer, still gives that error, so I don't think the
problem is in the condition, but ContentCollection.


On Sat, Jun 21, 2014 at 11:33 PM, Christian Müller <
christian.mueller at typo3.org> wrote:

> 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
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>



-- 
--
*Tomiţă MILITARU*
Web Developer
Tel. +40741064681


More information about the Neos mailing list