raintpl3 icon indicating copy to clipboard operation
raintpl3 copied to clipboard

IF on Function?

Open brunoromeo001 opened this issue 4 years ago • 1 comments

Is it possible to do an if in a function? I have a function that returns iduser = 1 and I wanted to do an if that return.

brunoromeo001 avatar Feb 17 '21 16:02 brunoromeo001

Hi, I suggest, you try it and then you check what the template output look like. Hope that helps.

Just keep on mind that I don't support RainTPL anymore, so I'd recommend to try a different template engine if you need something more advanced.

feulf avatar Feb 17 '21 22:02 feulf