Is it possible to use PHx to display a chunk/text if the user is logged in as a manager? similar to this: [+phx:mo=`myWebgroup`:then=`I’m a member`:else=`I’m NOT a member`+] but using manager groups.
Essentially I want to be able to include links for manager users for help pertaining to particular pages, or possibly include a link to a Ditto listing for the manager to jump to & edit that page using QM+ (otherwise the listing would just be text and not a public accessible link.)
I have found a few similar questions in the forum but did not see a solution–I apologize if I just missed it.
Thanks!
Thanks, I will play around with that (managercheck) a bit more. I gave it a quick shot earlier and it didn’t seem to work.
Thank you, that is exactly what I was looking for and will keep note of it for future projects.
-
- 24,544 Posts
Quote from: zi at Oct 06, 2009, 06:13 PM
Thanks for the contribution! Please don’t forget to add it to this page: http://wiki.modxcms.com/index.php/PHx/CustomModifiers
I went ahead and added it.
-
- 120 Posts
This modifier always shows YES on 1.10 & 1.12. Any alternative?
Автор благодарит алфавит за любезно предоставленные буквы