Hi!
Is there a calendar moderator variable? Something I can use in a if conditional to hide/display a custom field?
Here's the thing: I created a custom field to classify calendar events as "recommended" but I want only the admins or calendar moderators to see and edit that custom field.
I went through all templates and found nothing else beside the $show['caneditevent'], $show['candeleteevent'] and $show['canmoveevent'] which are not useful in this case.
Something along the lines of:
if user is admin or calendar moderator
- show custom field
end if
would be fine but I'm open to other alternatives except asking for help in vb.org =)
Thanks =)
Ricardo
Is there a calendar moderator variable? Something I can use in a if conditional to hide/display a custom field?
Here's the thing: I created a custom field to classify calendar events as "recommended" but I want only the admins or calendar moderators to see and edit that custom field.
I went through all templates and found nothing else beside the $show['caneditevent'], $show['candeleteevent'] and $show['canmoveevent'] which are not useful in this case.
Something along the lines of:
if user is admin or calendar moderator
- show custom field
end if
would be fine but I'm open to other alternatives except asking for help in vb.org =)
Thanks =)
Ricardo
Comment