Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [anup123] Custom & Unique Template For Each Domain

Quote Reply
Re: [anup123] Custom & Unique Template For Each Domain In reply to
Hi Anup,

I dont know if this way can help

Replace the following lines in the login.cgi in the user dir

# Find out which template set we are on.
$t = GMail->template_set;
$IN->param(t => [$t]);


with

# Find out which template set we are on.

my $d = $IN->param('domain');

($d ) = $d =~ /(\d+)/;
if ($d){
# or some thing like that
$t= "T$d";}
else {$t = GMail->template_set;}
$IN->param(t => [$t]);


Hope that helps

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Subject Author Views Date
Thread Custom & Unique Template For Each Domain anup123 4474 Jul 1, 2002, 2:17 PM
Thread Re: [anup123] Custom & Unique Template For Each Domain
tandat 4358 Jul 2, 2002, 12:49 AM
Thread Re: [tandat] Custom & Unique Template For Each Domain
anup123 4333 Jul 3, 2002, 2:15 PM
Post Re: [anup123] Custom & Unique Template For Each Domain
tandat 4333 Jul 3, 2002, 9:08 PM
Thread Re: [anup123] Custom & Unique Template For Each Domain
brewt 4332 Jul 3, 2002, 9:28 PM
Thread Re: [brewt] Custom & Unique Template For Each Domain
anup123 4310 Jul 4, 2002, 3:26 AM
Thread Re: [anup123] Custom & Unique Template For Each Domain
brewt 4318 Jul 4, 2002, 10:49 AM
Post Re: [brewt] Custom & Unique Template For Each Domain
anup123 4294 Jul 4, 2002, 8:36 PM