Admin template permission tags
From Open-Realty Wiki
Each permission tag in the template system are made up of pair of tags that surround the template data that you which to show only to a select group.
For Example:
Opening tags look like this: {check_admin}
Closing tags look like this: {/check_admin}
In addition to the listed template tags you can also add ! in front of any permission tag to check for NOT having that permission. Where the above exmaple is checking for admin permissions, the below examples will check if the user is NOT an admin.
For Example:
Opening tags look like this: {!check_admin}
Closing tags look like this: {/!check_admin}
The Following tags are available in the templates. You can add the NOT "!" to any of the listed permission tags:
| Tag | Description |
| check_agent | Shows content to agents. |
| check_guest | Shows content to guest only. Logged in members/agents will not see this info. |
| check_member | Shows content to members. |
| check_admin | Shows content to administrators. |
| check_view_logs | Shows content to administrators or agents with view log permissions |
| check_edit_pages | Shows content to administrators or agents with edit page permissions |
| check_have_vtours | Shows content to administrators or agents with virtual tour permissions |
| check_have_files | Shows content to administrators or agents with file upload permissions |
| check_edit_site_config | Shows content to administrators or agents with edit site configuration permission. |
| check_edit_member_template | Shows content to administrators or agents with edit member template permission. |
| check_edit_agent_template | Shows content to administrators or agents with edit agent template permission. |
| check_edit_listing_template | Shows content to administrators or agents with edit listing template permission. |
| check_edit_all_listings | Shows content to administrators or agents with edit all listings permission. |
| check_edit_all_users | Shows content to administrators or agents with edit all users permission. |
| check_edit_pages | Shows content to administrators or agents with edit pages permission. |
| check_edit_listing_classes | Shows content to administrators or agents with edit listing classes permission. |
