Hello,
I want to override values passed to template files. In .tpl file I have variable of logged user - "$loggedinuser.firstname" I'm trying to create hook "ClientAreaPage", in dump of $vars I see:
[loggedinuser] => Array
(
[userid] => "84"
[firstname] => "John"
[lastname] => "Stuff"
=> "email@email.com"
)
I'm trying to modify firstname from "John" to "Mr. John" with hook, to display it in client area, but with no luck How to change that value and return to template. I don't want to change variables in template in case of template update.
Version 7.1.2
Thanks.