lasertits
Active member
Not sure if this is a bug, by design, or just my own silly issue (tested on 2 xf installs, one prod one dev, same result) but I can't seem to use the {$isAwaitingEmailConfirmation} template conditional on the account_upgrades template.
Using the following to test:
When placed on the PAGE_CONTAINER template and viewed on an unconfirmed account, the 'testing' message shows as expected.
When placed on the account_upgrades template and again viewed on an unconfirmed account, the 'testing' message does not show.
I also tested it on one of my own templates for an addon of mine and it worked there too. No idea why it isn't functioning on account_upgrades or if it doesn't work on other default XF templates as well.
If anyone knows how to get it working please let me know. Thanks.
Using the following to test:
Code:
<xen:if is="{$isAwaitingEmailConfirmation}">
testing
</xen:if>
When placed on the PAGE_CONTAINER template and viewed on an unconfirmed account, the 'testing' message shows as expected.
When placed on the account_upgrades template and again viewed on an unconfirmed account, the 'testing' message does not show.
I also tested it on one of my own templates for an addon of mine and it worked there too. No idea why it isn't functioning on account_upgrades or if it doesn't work on other default XF templates as well.
If anyone knows how to get it working please let me know. Thanks.