Is there a way to add this as a token object so that I can put the publish link in a Drupal automated email?
For example, I am using the rules module to email an admin of the site whenever a content type is created (unpublished by default). I am able to use tokens for different cck fields and things but I am unable to put is a publish link.
Is there a way to add the publish link as a token so that it can be added to things like this? Maybe put it as a cck field, which will then automatically be added to the token list?
Comments
Comment #1
aaronbaumanSounds like a valuable feature to me, but I think it would require implementing hook_token_values() and hook_token_list().
see http://drupal.org/documentation/modules/token
Comment #2
simon georges commentedAll feature requests should go to current branch, as the 6.x-1.x version is not maintained any more.
Comment #3
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.