Hi
I have
[[!Profile? &prefix=`user.`]]
at the top of a page.
In the body of the page, I have
which outputs John Doe as the full name so that works as expected.
I have a form on the page that needs to split the firstname and surname, so I created an output modifier (a snippet called getFirstname) with:
$fullname = explode(" ",$input);
$firstname = $fullname[0];
return $firstname;
and changed my placeholder to
[[!user.fullname:getFirstname]]
However this does *not* work. Any ideas? What am I missing?
Thanks in advance.