We have a CB Field of type Custom HTML
Prepare content using CMS Content plugins = Yes
We are trying to render the text as a cb:if substitution result
This is the substitution:
Code:
[cb:if "[cb_membership_years]" > "0"]Member for [cb_membership_years] years[cb:else]First year member[/cb:else][/cb:if]
cb_membership_years is a CB Field of type Integer Number
But no matter what combination of things I try, this is how it renders on the profile page:
[cb:if "13" > "0"]Member for 13 years[cb:else]First year member[/cb:else][/cb:if]
Is there something missing in the syntax? Or is there some other reason that it is not rendering properly? We can see that the variables are rendering as they should.