Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i had a customized version of token running till now, this was the only change patch-worthy..
easy to implement but don't know if node_load gives too much of a performance penalty?
Comment | File | Size | Author |
---|---|---|---|
#5 | 321487-token-comment-node-title.patch | 1.83 KB | Dave Reid |
token-add-comment-node-title.patch | 1.17 KB | eMPee584 | |
Comments
Comment #1
gregglesYes, I think this would be better as a
Comment #2
eMPee584 CreditAttribution: eMPee584 commentedyeah guess so..
Comment #3
Dave ReidThis isn't a bug, it's a feature request. :)
Comment #4
gregglesIt also needs a check_plain on it.
Comment #5
Dave ReidRevised patch with comment-node-title-raw and comment-node-title.
Comment #6
Dave ReidThis passed locally for me, so committed to CVS, and committing to the token upgrade path in D7.
http://drupal.org/cvs?commit=388308
http://drupal.org/cvs?commit=388310