How can I do it ?

Comments

marcingy’s picture

Status: Active » Closed (duplicate)
drupalnesia’s picture

Version: 6.x-1.11 » 6.x-1.x-dev
Status: Closed (duplicate) » Active

Hi Eaton,

I just install 6.x-1-dev with Dec 2, 2008 release date, but still no support for Profile.

Can u point me how to add Profile's token feature? I like to modify the token code asap. Token module very very important for another modules, especially Rules because needs to get value from Profile.

drupalnesia’s picture

I found the easiest way is using http://drupal.org/project/pmail trick.

Pmail
--------
This module relies on the token module to provide on-the-fly substitutions, and contains a fall back on the user's login name if the token replacement didn't yield a result. It includes an enhanced version of token_user.inc that provides support for core Profiles and the Node Profile module.

How to use it?
--------------------
Copy token_user.inc to the token installation directory (overwrite the existing file).

malc_b’s picture

How does that work for D6 when pmail is only a D5 module?

MGN’s picture

Have you tried the patch at #125640: Profile tokens. There is D6 patch in that issue that might suit your needs.

marcingy’s picture

Status: Active » Closed (duplicate)

hence why I marked this as a duplicate ;)