New releases of Token module - Suggest issues and help test
Hi folks,
I think it's about time to do another relase of both the 6.x and 5.x branches of code. The last issue I'd like to fix is menu* generally broken which has a patch that needs review.
Anything else that should really really be fixed? Add it here:
And if you're using the latest 5/6.x-1.x-dev version of token and it's working for you it would be nice to hear that as well.
Groups:
Login to post comments

Having trouble with Token Syntax in CCK
I've been playing with CCK for a specialized form (using Drupal 6.5).
I've made a CCK-based "Support Request" content type, which includes some decimal fields for Latitudes and Longitudes (field_lat1, etc.). I also have a Link field, which I'd like to use to send the user-entered lat/longs for display on an image.
The image is here:
http://www.passcal.nmt.edu/~dthomas/worldmap.php?&lat1=0&lat2=30&lng1=0&...
I'm hoping I can use tokens to capture the user's lats/longs and dynamically format the link so it has the correct &lat1=25.3 (or whatever) & etc to send to the image-generating php page.
I've installed the tokens modules, but can't figure out how to use tokens. Experiments with things like &lat1=['field_lat1'] and many variations are getting me nowhere.
Any suggestions?
Thanks & regards, Dave
Re:Having trouble with Token Syntax in CCK
Part of the problem might be the newest DEVEL module for Drupal 6.5. If this is activated, it inhibits all the normal collapse fields, rendering them incapable of normal collapsing/expanding. Thus I can't open sections such as 'Placeholder tokens' in the CCK edit Link area. But, of course you'll need DEVEL to use CCK as intended, etc.
Thoughts?
Dave
you're kind of asking in the wrong place
I'm not sure how you found this wiki, but it's the wrong place for support questions.
I suggest the token issue queue or the cck issue queue. I also don't know what you mean by "you'll need DEVEL to use CCK as intended." There is no requirement on devel to use cck - if devel is causing problems with some other module you should fix or disable devel or fix or disable the other module.