Commit 360aaead authored by Rich's avatar Rich

update readme

parent 6e823542
......@@ -100,3 +100,28 @@ cv api4 ActionLink.getLink '{"actionLinkID":1, "contactIDs":[1, 2, 3]}'
Please use the [issue
queue](https://lab.civicrm.org/artfulrobot/actionlinks/issues) or contact
me (@artfulrobot) on [chat.civicrm.org](https://chat.civicrm.org).
## Tokens
There's 2 types of token available and I'm not exactly sure when to use
each. (If you can clarify, please do a PR!)
There's the old skool way, which you can use in Message Templates for
example. You should enter tokens like:
```
Hey, click this: {actionlink.1}
```
where `1` is the Action Link ID.
And there's the new way using TokenProcessor, for which you need to write
tokens like this:
```
Hey, click this: {contact.actionLink1}
```
(note the camelCase in this instance. This is just to keep you on your
toes.)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment