Discussion:
[magnolia-user] Is there a way to change the behaviour of ChannelVisibilityContentDecorator?
Matteo Pelucco (via Magnolia Forums)
2014-10-17 13:20:52 UTC
Permalink
Hi guys,
afaik, ChannelVisibilityContentDecorator worsk with a hard-coded property, called "excludeChannels".
I need the same behaviour, but I need to check 2 properties:

channels (desktop-smartphone-tablet..)
region (europe, usa, ...)

That class is directly used by RenderingFilter (new ChannelVisibility.. at line 171 or around..) and I didn't see any IoC components for that.

I guess I need to add a new content wrapper, sharing the same channel functionality, right?
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=e466dd72-0239-4344-a7c4-5cc63eed09b5


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Loading...