JamesBrown Well-known member Licensed customer Jul 3, 2019 #1 Should be easy, so why am I struggling to do this? I found some conditional statements and they always give me syntax errors. Can someone show an idiot how to hide a menu item from user groups 1 and 2 . Thanks
Should be easy, so why am I struggling to do this? I found some conditional statements and they always give me syntax errors. Can someone show an idiot how to hide a menu item from user groups 1 and 2 . Thanks
K Kirby Well-known member Licensed customer Jul 3, 2019 #2 Code: !$xf.visitor.isMemberOf([1, 2]) Upvote 0 Downvote
JamesBrown Well-known member Licensed customer Jul 3, 2019 #3 Thank you @Kirby that worked a treat Upvote 0 Downvote