Did tried above function instead and still does not work but seems to be closer to the final result. However, this time got different notice Undefined index: Hello and Trying to get property 'value' of non-object
@R_J What I would like to do is basically pass some variables or function results to smarty so i can use it in .tpl files. That's all i would like to use. I did created theme hooks file according to your suggestion in other topic and the file is located in main folder of theme and its name is:…