What is the proper way to store token replacements in a variable? Or should i even bother and call them directly?
$author_uid = [node:author:uid]; $name = [node:title]; $picture = [node:field-image-upload:file]; $link = [node:url];
Are giving me an error:
PHP Parse error: syntax error, unexpected ':'
Am i doing something wrong?
Also in regards to this line:
$picture = [node:field-image-upload:file];
What I'm really trying to get is the url link to that image file. How can I do this with a token?