1283 Posts
Bucklash
7 years ago
0
Topic

Hi folks

EDIT: I confirm that $cck... works like a treat on link to a view, but not for delete.
I noticed that in content ->  onCCK_Field_LinkPrepareContent::_link it uses g_getCustomVars
in content_delete ->  onCCK_Field_LinkPrepareContent::_link it does not use g_getCustomVars ... is that the difference here?
I am not sure what I am missing here....

In '2' Link -> Content Delete, I have added in to Redirection (Variables) the following:

profile_delete=1&profile_user=$cck->getValue('article__user_id')<br>

The result is:

?thanks=profile?profile_delete=1&profile_user=$cck-%3EgetValue('article__user_id')<br>

'article__user_id' is correct as seen by image below:

The field is in the List Item View as seen by the image below:

Any tips, what have I missed? 

Thanks

Jon

Get a VIP membership