AudienceTargetingBundle : best practice to filter page / navigation #6967
geoffroycochard
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hie,
First at all congratulations for this project, and Happy New Year !!
The goal of my project based on Sulu, is to manage some different profil with combination of [pro,retail] profil and country [en,fr,de,ch,it,es]) who have to see different page (so navigation) , content, custom content, etc... And some pages are visible by many combination, pro.en OR pro.fr OR retail.en OR retail.fr with no dependency of language !...
After some test (Segment vs Target), i've decided to use AudienceTargetingBundle : i'm right...?
On content, filtering doing right but not for pages and navigation permissions calculation
So for navigation, i've override service definition
sulu_website.navigation_mapper.query_builder
and replace classSulu\Bundle\WebsiteBundle\Navigation\NavigationQueryBuilder
and the buildWhereAnd for page permissions ?
I'am going right or not ?
Thanks for your advices.
Geoffroy
Beta Was this translation helpful? Give feedback.
All reactions