Integrate your App with Addthis
From 4.5.3, you can add Addthis block to your pages with a simple way: use new template built-in function addthis
:
Code Block | ||||
---|---|---|---|---|
| ||||
{addthis}
|
Available parameters
Parameter | Description |
---|---|
pubid | Addthis tool's id |
customize | Addthis tool's html |
url | Custom URL of item |
title | Custom title of item |
description | Custom description of item |
media | Custom media (image) of item |
Note: pubid
and customize
are optional, configure them in case you want your app use your own Addthis style despite the configuration in AdminCP.
Example
Adding Addthis block with default configuration of core (You don't need to input pubid
and customize
)
Code Block | ||||
---|---|---|---|---|
| ||||
{addthis url='http://example.com' title='Example' description='Description of example' media='http://example.com/image.jpg'}
|
Adding Addthis block with your own configuration (Input your pubid
and customize
)
Code Block | ||||
---|---|---|---|---|
| ||||
{addthis pubid='your-pubid' customize='your-custom-html' url='http://example.com' title='Example' description='Description of example' media='http://example.com/image.jpg'}
|