I want my users to be able to enter something like {contact me} or {contact nancy} and have that turned into <a href="/user/24/contact">contact Nancy</a>. Note: first, it has to obtain the correct user number, and it has to get the correct (Capitalized) name from the user's profile ($user->profile_firstname, and last name would be nice too).

Can Reptags do this?

Comments

profix898’s picture

In principle: YES. But there is no ready-to-use code to obtain exactly what you need. It would require you to write a small .tags module. See DEVELOPER.txt for more information. I guess it would be a very simple one (only a few lines). If you dont know how to write this, please send me a note and I can do it for you. Should be done in a few minutes ...

nancydru’s picture

If I can manage contributed modules, I think I can handle a little stub code. Thanks.

nancydru’s picture

Should I use 1.8 or -dev?

profix898’s picture

There is only code cleanup and a small ajax-related fix additional in -dev. Nothing important. Both should be fine for use.

nancydru’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
silurius’s picture

Component: Code » Contributed .tags module
Status: Closed (fixed) » Active

Will this by chance be included for 6.x? I'm probably not capable of creating it myself at this time.

duaelfr’s picture

Status: Active » Closed (won't fix)

This version of Rep[lacement]Tags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.