Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Prob with simple Templates

Quote Reply
Prob with simple Templates
I am having the same problem as a previous poster.. I am using the simple templates and I cannot view email that has been sent with "no subject" ... I do not want to add another column like a previous poster did? .. Is there any way to make the simple templates show 'no subject' like the default templates do when an email is sent with no subject.. Any help will be appreciated..

Quote Reply
Re: Prob with simple Templates In reply to
Hi,

You can use the built in <%if%> statement support from the template parser.
The line would look like this:
<%if msgs_subject%>
<%msgs_subject%>
<%endif%>
<%ifnot msgs_subject%>
No Subject
<%endif%>

Put this in msg-row.html template in place of <%msgs_subject%>

Cheers,

Scott



Quote Reply
Re: Prob with simple Templates In reply to
Worked Great.. thanks Scott