Support Forums

blueerror

This is a discussion on blueerror within the TemplateCodes forums, part of the Third Party Support category; Hi. There's a class on the userjoin.tpl file called <div class="blueerror">. Basically it's an X warning icon informing the user ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-04-2010, 01:00 PM   #1
Customer
 
Join Date: Jan 2010
Posts: 61
Rep Power: 5
metrony is on a distinguished road
Default blueerror

Hi. There's a class on the userjoin.tpl file called <div class="blueerror">. Basically it's an X warning icon informing the user that they need to confirm their email address. But the same error icon appears when they actually confirm the account since the class doesn't change.

How do you put an 'if' statement in the code that says if the message is a successful confirmation to show another class?

The full code in userjoin.tpl is:

Code:
{if $errorText}
	<div class="blueerror">
		{$errorText}
	</div>
{/if}
Is it possible?
__________________
Metro New York Apartments
Apartment listings for the Metro New York Area
metrony is offline   Reply With Quote
 

Thread Tools
Display Modes



All times are GMT -4. The time now is 02:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0