Matt C.
Well-known member
I'm having issues with detecting options in templates. I think this actually might be a bug, but I wanted to ask here before reporting it.
I'm using the following code:
I know the code works because I have the option checked, the css under it if statement renders on the front end. If I uncheck it, it still shows. But I remove the code, and re add it, then it doesn't render and vice versa. I have a video to demonstrate this.
(Please excuse the audio in the background, I had a movie playing)
View attachment XenForo - Google Chrome 12_14_2018 5_58_41 AM.mp4
Thank you!
I'm using the following code:
Code:
<xf:if is="$xf.options.ahfaAM">
</xf:if>
I know the code works because I have the option checked, the css under it if statement renders on the front end. If I uncheck it, it still shows. But I remove the code, and re add it, then it doesn't render and vice versa. I have a video to demonstrate this.
(Please excuse the audio in the background, I had a movie playing)
View attachment XenForo - Google Chrome 12_14_2018 5_58_41 AM.mp4
Thank you!