I had problems using CCK tokens in some pages like Pathauto configuration page. CCK tokens are not available.

I noticed token hook placed in "includes/content.token.inc" are not called cause hook_init() is not called when token list are generated.

To avoid this we need to include token file directly in content.module loading.

I attach patch.

CommentFileSizeAuthor
cck-token_include_file.patch1.14 KBsjovanig
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sjovanig’s picture

Status: Active » Needs review
MegaChriz’s picture

Status: Needs review » Closed (duplicate)