Even if you print it outside the if?
That would help make sure you are actually looking at the right filed
Have you tried printing out e.g. the ClassName or ID on the template, before the if statement?
So, in your
app/templates, you'll need to put your actual template in the complete namespaced folder
That could very well be it. You need to pass the
classname to the renderer, which then looks up that template based on the class namespace
the setTemplate also should probably
self::class and not
You shouldn't do that, you should use
VendorName\Project\, e.g. for me, that's
But your custom fields seem to be