IMPORTANT: We moved to new Unified Support Forum

Please post all new support queries in our New Forum →

The forum is in read only mode

Please access New Forum to get support:
  1. Roger
  2. Guru
  3. Monday, 22 January 2018
  4.  Subscribe via email

I'm doing some small customizations to /components/com_guru/views/guruprograms/tmp/view.php, and would like to show some content only to students, but not to other users.

Is there an easy way to detect the status of the user using php?

I know the code to detect the Joomla user group, but not sure how to determine if the user is a student of the course.

Thank you.

You do not have permission to view the content of this accepted answer.

There are replies in this post but you are not allowed to view the replies from this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.