Hi,

As the title says my problem is that no node token is available on the "available tokens" screen. This is very problematic for me since the node tokens are basically the most important ones for creating a default template for a certain content type.

I am not sure whether this is a Meta Tag issue. But the fact that the node tokens are available on other places (e.g. pathauto or automatic nodetitles etc.) just not on meta tags makes me wonder. I have also created an issue for the token module a couple of days ago but have not had any reaction so far.

This lead me to the assumption that it must be me doing something wrong. Especially since I am positive that this used to work before. So I tried a fresh install of D7.15 with nothing else but token and meta tags (tried both: latest stable and dev releases). But the result was the same. Node tokens are not available (all the others are though).

Interestingly though, moving one of the content type fields to another entity (such as profile 2) made it available on meta tags as well (under user tokens).

So please forgive me for opening another issue here in addition to the token issue queue. But maybe there is someone here who has experienced similar difficulties and found a solution to it.

Thank you a lot in advance for your help.

CommentFileSizeAuthor
#3 Screen shot 2012-09-22 at 11.50.52 AM.png89.99 KBetibmw
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

etibmw’s picture

same problem here
Drupal 7.15
7.x-1.0-alpha8

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

Be aware that if you updated to Token 7.x-1.2 or higher, it now uses a 'modal' AJAX link typically with the text 'View available tokens' instead of displaying the full token browser in the node edit page for meta tags. Clicking the link should show the token browser in a jQuery UI dialog window.

Please attach some screenshots of the problem so I can confirm this isn't what is happening.

etibmw’s picture

Hi Dave,
I am using Token 7.x-1.3 and the token are as you said presented in the popup window.
The token list includes the date, site, random tokens but not the node tokens
attached is the screenshot with the page and token list

Thanks for the help

Dave Reid’s picture

Title: Node Tokens unavailable » Options not properly passed to theme('token_tree') in token_page_output_tree()
Project: Metatag » Token
Version: 7.x-1.0-alpha8 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Ah, gotcha. I can confirm that this is a bug in Token module. I'll get a new release of it out shortly here.

Golem07’s picture

Thanks a lot!

etibmw’s picture

thanks
waiting for the fix, any idea on where to look for the error?

Dave Reid’s picture

Status: Active » Fixed

This has been fixed with http://drupalcode.org/project/token.git/commit/c5b20e0 and the new 7.x-1.4 release will be available shortly.

etibmw’s picture

used the fix
works
thanks dave

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.