Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: Re: [tandat] Custom & Unique Template For Each Domain: Edit Log

Here is the list of edits for this post
Re: [tandat] Custom & Unique Template For Each Domain
Hi,

I got following error:

GT::Template::Inheritance (9340): Wrong argument passed to this subroutine

I am on GM 2.1 and the closest to what you have stated is as follows in login.cgi:

# Update the template set with the user's default template set.
$t = GMail->template_set();
$IN->param(t => [$t]);
my $default = $USER->{users_default_template};
if ($default and $default ne $t and -e "$CFG->{location}->{path}->{data}/templates/$default") {
$USER->update_template($t) unless $IN->param('no_update');
}
$CFG->load_template_set($t);


So what changes needs to be done?


Anup

Last edited by:

anup123: Jul 3, 2002, 2:31 PM

Edit Log: