Jump to content

Hide information from guests


Back

Recommended Posts

If you need to hide something from guests, you can use the code.

Paste in the right place

{{if \IPS\Member::loggedIn()->member_id}}
    Тут информация что вы хотите скрыть от гостей
{{endif}}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.