vForums Support > vForums :: Report a Bug :: Resolved Bugs :: > Nested If Template Statement
Nested If Template Statement - Posted By Michael (wrighty) on 18th Jan 10 at 2:05pm
It breaks it!
On my forum (Ross knows link) attempting to use a custom if statement, but it's terminated by {/if:gender}
Surely a {/if} should terminate a custom {if}, not a {/if:gender}
Re: Nested If Template Statement - Posted By Ross (admin) on 18th Jan 10 at 2:07pm
Which template?
Nested {if} statements have work on all my tests.
Re: Nested If Template Statement - Posted By Michael (wrighty) on 18th Jan 10 at 2:09pm
It's the mini profile one, sorry for not mentioning that. Version 1
Re: Nested If Template Statement - Posted By Ross (admin) on 18th Jan 10 at 2:14pm
It's not just because it's nested, it's the {else} doing most the damage. Replacing that with a separate {if} seems to fix it
Re: Nested If Template Statement - Posted By Michael (wrighty) on 18th Jan 10 at 2:16pm
Hm... Ok.
I thought {else} would have worked. Oh wells!
Thanks.