Last active
May 18, 2016 12:52
-
-
Save farmerbradllc/2e2669d4dd4bee978d755e315a0094df to your computer and use it in GitHub Desktop.
Target User Segments for Navigation.vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## -------- Audience Targeting Section -------- ## | |
#set ($userSegmentLocalService = $serviceLocator.findService("content-targeting-api","com.liferay.content.targeting.service.UserSegmentLocalService")) | |
#set ($assetCategoryLocalService = $serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService")) | |
#set ($userSegmentIds = $request.getAttribute("userSegmentIds")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment