vForums Support Banner


Visit vForums

 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: Nested If Template Statement - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Nested If Template Statement (18th Jan 10 at 2:05pm UTC)
Resolved
It breaks it! {Tongue Out}

On my forum (Ross knows link) attempting to use a custom if statement, but it's terminated by {/if:gender} {Sad}


Surely a {/if} should terminate a custom {if}, not a {/if:gender} {Unsure}
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Nested If Template Statement (18th Jan 10 at 2:07pm UTC)
Which template?

Nested {if} statements have work on all my tests.

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Nested If Template Statement (18th Jan 10 at 2:09pm UTC)
It's the mini profile one, sorry for not mentioning that. Version 1 {Smile}
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Nested If Template Statement (18th Jan 10 at 2:14pm UTC)
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 {Smile}

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Nested If Template Statement (18th Jan 10 at 2:16pm UTC)
Hm... Ok.

I thought {else} would have worked. Oh wells! {Grin}
Thanks.
 Printable View

All times are GMT+0 :: The current time is 4:51am
Page generated in 1.8914 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums