I defined a CCK Link called it view_my_profile.

I want this to be a default value that the user cannot touch, view, or modify. Only the admin can modify or see it.

I installed CCK permission and set create, edit, view for admin only.

I thought that I could use tokens and enter user/[author-id] into the default field.

In a separate view when I show "view_my_profile" I would be taken to user/88 (if 88 was the author of the node or the user for example).

But that does not happen.

I get the actual text for "view_my_profile" in my view "user/[author-id]" without any token replacement if I set it to "plain, as text URL". So i know that the text value is present.

If set "view_my_profile" as "default to link with title", I get nothing.

Thanks,
Chris

(as I am not quite sure if this is a problem with CCK link or Token I have placed it in both. I think it might be an issue with toekn though since the token text is printed.)

Comments

greggles’s picture

Status: Active » Closed (duplicate)

Understood that this is a duplicate with #213548: CCK link fields don't seem to work in a View.