Welcome Guest, Not a member yet? Register   Sign In
Template Parser: Dont display var name if blank
#4

[eluser]Jondolar[/eluser]
I would have thought that if the array variable was set but blank it would remove it but I don't use the built-in parser. Can you just replace the "missing" variable with an HTML comment like <!-- --> so it won't show up in the rendered page? A better option might be to modify the temlate parser and make it work properly.


Messages In This Thread
Template Parser: Dont display var name if blank - by El Forum - 11-12-2009, 09:40 AM
Template Parser: Dont display var name if blank - by El Forum - 11-12-2009, 10:26 AM
Template Parser: Dont display var name if blank - by El Forum - 11-12-2009, 10:58 AM
Template Parser: Dont display var name if blank - by El Forum - 11-12-2009, 01:20 PM
Template Parser: Dont display var name if blank - by El Forum - 11-12-2009, 11:25 PM
Template Parser: Dont display var name if blank - by El Forum - 11-13-2009, 03:32 AM
Template Parser: Dont display var name if blank - by El Forum - 11-20-2009, 08:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB