We just set the error template var in the cgi/application, to the message we want to put out and use:-
<TMPL_IF ERROR>
%ERROR%
</TMPL_IF>
MArk WIlliams

simran wrote:
Hi All,
I have a template where i really need to use "else if" conditions? How
do you all handle places where you need to use "else if"?
A sample of my situation is:
<tmpl_if name="error1">
Error one occured
<tmpl_elseif name="error2">
Error two occured
<tmpl_else>
No error could be determined...
</tmpl_if>

If if was just two error messages, i could nest the if's but i have a
situation where i might have hundreds!!!

simran.



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to