Privacy Template Tags
Here is a list of template tags provided by Privacy
Privacy's Templates
This page of the Privacy user manual is applicable for Privacy 2.0. A new user manual is being written for Privacy 2.1. In the meanwhile, these can be used as a reference as the two versions are similar
Privacy will create the following templates in all blogs (whether current or new):
Privacy: Bootstrapper- This index template should not be changed. It handles authentication of a reader if your blog URL is different to your Movable TypeCGIPath.Privacy: Login- The contents of this system template are shown whenever an asset is marked private and the user is not logged in. It prompts the user to login to view the asset. Once the user logs in, a cookie is set on their system and they will have access to the asset for 24 hours.You can customize the contents of this template as you wish. The template tags you can use in this template is rather limited. We recommend that you refrain from using any specialized tags (such as
MTEntryorMTCategory) tags as they may not always work. If you ever need to revert to the defaultPrivacy: Logintemplate, you can always refresh it.Privacy: Not Allowed- The contents of this system template are shown whenever an asset is marked private and the user login fails (for example if they have entered an incorrect password or are not in the list of allowed readers)You can customize the contents of this template as you wish. The template tags you can use in this template is rather limited. We recommend that you refrain from using any specialized tags (such as
MTEntryorMTCategory) tags as they may not always work. If you ever need to revert to the defaultPrivacy: Not Allowedtemplate, you can always refresh it.
MTPrivateBlog, MTPrivateCategory, MTPrivateEntry
Container tags used in the context of any index or archive template. These are the tags that make Privacy work. If the asset is private, the contents of this container tag will be replaced with the contents of the Privacy: Login template. Once the user logs in, the contents of the tag are shown.
Use the appropriate tag based on the type of Privacy (entry, category or blog) you are using within the correct context - i.e. the MTPrivateEntry tag must be used within an MTEntries container tag (or Individual Entry Archive template) and likewise with MTPrivateCategory which must be used within the MTCategories container tag (or Category Archive template).
MTPrivateObjectType
Displays what type of asset (entry, category or blog) is protected. This is typically used in the Privacy: Login or Privacy: Not Allowed system templates.
MTPrivacyTypes
A container tag used to display the appropriate login information in the Privacy: Login template.
MTPrivacyTypeName
A tag used in the context of the MTPrivacyTypes tag displays the name of the Privacy type being used.
MTPrivateObjectID
A tag used in the context of the MTPrivacyTypes tag to display the ID of the Private asset.
MTPrivacyTypeFields
A container tag used in the context of MTPrivacyTypes container tag. Displays the form fields that are required for this Privacy type in the Privacy: Login template.
MTPrivacyTypeFieldName
A container tag used in the context of MTPrivacyTypeFields container tag. Displays the proper form field label.
MTPrivacyTypeFieldType
A container tag used in the context of MTPrivacyTypeFields container tag. Displays the proper form field.



