Portal Tokens
Special tokens are used to control your Portal skin. These need to be in place in order for your Portal to function correctly.
- [MPP_SkinPath]
- The token is replaced with the path to your skin folder. This should be used rather than hard-coded paths; for example:
<head> <title>Sample Skin</title> <link href="[MPP_SkinPath]/ico/favicon.ico" rel="shortcut icon" /> <link href="[MPP_SkinPath]/css/portal.css" rel="stylesheet" /> </head> <body> <div id="logo"><img src="[MPP_SkinPath]/images/logo.png" /><div> ... <script src="[MPP_SkinPath]/libs/jquery/1.11.3/jquery.min.js"></script>
- [MPP_PageForm]
- This token is replaced with the full HTML content of each Portal page. It should be placed within the main content container of your skin file.
- [MPP_UserLogin]
- This token shows the login link on the Portal. If someone is logged in, it shows their username instead.
- [MPP_UserLogout]
- This token shows the logout link on the Portal. If no one is authenticated, the "LogoutTokenDefaultText" is used instead.
- [MPP_ViewCart]
- This token shows the current number of items a user is preparing to pay for (donations, event registrations, etc).