Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Different Footer & Welcome Email With Same Template

Quote Reply
Different Footer & Welcome Email With Same Template
Hi,

If I would like to use a single template but the "footer message" and the "welcome email" be domain specific, then how do i do this. These two things (welcome email and footer message) can be entirely different dependent upon the domain. Currently to achieve the same i have to use five different template sets. Stating it specifically, for five domains i would like to use a single template but five different footer messages and welcome emails.

I would want to use only one template say "Template" but the footer and welcome mails have to be domain specific.

Another question is that what is the effect of more templates on esource usage (if any). Having more Template sets (like in my case) does it increase the resource usage?

Thnx

Anup

Last edited by:

anup123: Mar 12, 2003, 9:09 AM
Quote Reply
Re: [anup123] Different Footer & Welcome Email With Same Template In reply to
Hi Anup,

One way of doing that would be just to do it using if statements:
Code:
<%if domain eq "foo.com"%><%include footer-foo.com.html%><%elsif domain eq "bar.com"%><%include footer-bar.com.html%><%else%><%include footer-baz.com.html%>

Having different template sets shouldn't have any effect on resource usage (other than the fact that it takes more hard drive space for the templates, and the compiled versions of the templates).

Adrian
Quote Reply
Re: [brewt] Different Footer & Welcome Email With Same Template In reply to
Thnx Adrian. Actually it was the footer.txt and welcome.eml

footer.txt is already done and works fine.

welcome.eml part is a bit cumbersome (typing all those domain specific messages and uploading images) but i think it should work.

A question is that why is it that most of the pages have a title tag?

Can't it be made to restrict to one header.htm and then different domain specific 'Title' (through <%if ......%><%set Title='Title'%><%elseif....%><%endif%> set and then included in header.htm only and be valid for all navigations within the account.

Thnx

Anup

Last edited by:

anup123: Mar 17, 2003, 12:35 PM