Closed (fixed)
Project:
Token
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 May 2007 at 04:00 UTC
Updated:
25 May 2007 at 23:01 UTC
Attached patch introduces a new token_comment.inc file. I am using this in a new replies.module which does simple thread subscriptions. Its intended target is core. I will also need this soon when i convert organic groups to use token for its emails (and it will declare a few tokens too).
| Comment | File | Size | Author |
|---|---|---|---|
| mw_18.patch | 4.92 KB | moshe weitzman |
Comments
Comment #1
moshe weitzman commentedAnyone up for reviewing this? Basically, just assure that your existing tokens doesn't blow up. Only replies.module uses this right now.
Comment #2
gregglesuh, when I first tested this I got - "Parse error: syntax error, unexpected '=', expecting ')' in /var/www/m/drupal-5.1/sites/all/modules/token/token_comment.inc on line 33" But I think that was introduced somewhere by me...
I noticed these tokens:
Which I think eaton is mixed about. In order for token to be used for mailers and such it needs to provide these tokens so while I'm somewhat mixed I don't see much downside to providing those tokens in general. Especially in this case where it doesn't cost much extra processing (e.g. no query).
See http://drupal.org/node/127613 for related issues on that topic. We can discuss this more in the future, but I don't want to hold back replies module.
Comment #3
(not verified) commented