MyBB Support years of service support Submitted by Tutti Frutti, 11-09-2017, 10:55 PM, Thread ID: 46643 Thread Closed Reply RE: years of service support 11-09-2017, 11:39 PM #2 Maybe set an if statement to ignore if your variable is 0, else print the following div? PHP Code:<if {$GLOBALS['tplvars']['years']} !== "0" then><div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div></if> More
RE: years of service support 11-09-2017, 11:39 PM #2 Maybe set an if statement to ignore if your variable is 0, else print the following div? PHP Code:<if {$GLOBALS['tplvars']['years']} !== "0" then><div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div></if> More