Jump to content

Client area - display something only for admins


erave02

Recommended Posts

Hi,

 

I'd like to be able to display something on the client area, but only if I'm coming from the admin area and using the "login-as" feature.

 

The scenario is like this:

While looking at a client on the admin, I use the login as feature.

I get the client are of that user, (with the little return to admin area on the top right)

At this time, on my custom page, I'd like to display something ONLY if this was the scenario.

If a user logs on, he should not see this information.;

 

I tried to use if($_SESSION['adminloggedinstatus']) , but that doesn't seem to work.

 

any ideas?

 

Thanks!

ER

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated