Recently I came across a module which uses a ":" in it's token key name, "user:profile_my_field_name", which when combined with the token category, became "user:user:profile_my_field_name". Now I think that module (token_profile) is probably wrong, but I reckon ctools module should be able to handle it a bit better.

Currently "user:user:profile_my_field_name" is treated as "user:user" by the ctools module which causes the user's username to be printed out rather than the desired profile field. The attached patch fixes this.

#1 ctools_token_parsing.patch541 bytesstella
ctools_token_parsing.patch637 bytesstella


stella’s picture

new541 bytes

errr re-roll from correct directory

merlinofchaos’s picture

Status:Needs review» Reviewed & tested by the community

I already did this in D7, but I guess I didn't backport it to D6 like I thought I had.

merlinofchaos’s picture

Status:Reviewed & tested by the community» Fixed

Committed to D6 now.

Status:Fixed» Closed (fixed)

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