It would be nice to be able to use more than one of your placeholders at a time, and to also add in other text around the placeholders e.g. 'label' => '!text (!href)'. I've seen the token support ticket and that is a great option too (https://drupal.org/node/2000812), but unrelated to this request, I guess. Allowing tokens from other DOM elements is another great idea (https://drupal.org/node/1778250). Ideally, all three of these can work together.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | allow_multiple_tokens-2143851-7.patch | 1.97 KB | rymo |
| #5 | google_analytics_et_2143851_1.diff | 2.05 KB | davemybes |
| #1 | google_analytics_et_2143851.diff | 1.55 KB | davemybes |
Comments
Comment #1
davemybes commentedComment #2
frobI like your solution. I think I will apply it to the DOM token replace solution as well (I haven't applied it because it is too narrow a solution).
I will try and review this sometime this weekend.
Comment #3
davemybes commentedThanks for the fast reply. I've actually already added the Tokens support patch to my local dev version, so merging the two would be great :)
Comment #4
frobpost a patch, I will roll it into dev.
Comment #5
davemybes commentedWell, I guess I missed that reply :P Here's an updated version using the latest dev release which has the Token support already in it.
Comment #7
rymore-rolling for test bot