Token
|
<$logo/$> |
| Purpose |
This token displays the website logo. The user may upload a logo to the website on the My Website --> Settings page, on the advanced tab. Once uploaded, the logo will display anywhere the logo token is used.
|
Attributes
|
- href= specifies a URL for the logo to link to, when clicked (using "/" as the value will link to the websites home page).
- alt= specifies the alt text to append to the logo image
- maxwidth= constrains the width of the logo to a specific pixel width
- maxheight= constrains the height of the logo to a specific pixel height
|
Example Usage
|
Use this token to display the logo on your template:
<$logo href="/" maxwidth="200" maxheight="200" alt="Our company logo" /$>
|
Alternate Usage
| You can also specify alternate content for the system to display if no website logo exists: <$logo href="/" maxwidth="200" maxheight="200" alt="Our company logo"$> <h1><$websitename/$></h1> <$/logo$>
|