SOLVED -> The following was fully tested in TTX version 2.24 with a duplicate template set.

All the modifications below are performed on the
TTXTicket.pm module
1. In the usernotify subroutinea. find this line and ADD the parts in
blue...
my $name = $ticket->{'name'};
my $style = $_[0]->{style};
my $fn = $cfg->get('basedir')."/templates";
b. find the line in
red and REPLACE with the
blue. (NOTE: In
TWO places within this subroutine.)
if (open(TMPL, $cfg->get('basedir')."/templates/$tmpl.txt")) {
if (($style ne undef && open(TMPL, "$fn/$style/$tmpl.txt")) || open(TMPL, "$fn/$tmpl.txt")) {
my @buff = <TMPL>;
close TMPL;
$tmpl = join('', @buff);
}
2. In the opernotify subroutinea. find this line and ADD the parts in
blue...
my $ticket = $_[0]->{ticket};
my $style = $_[0]->{style};
my $fn = $cfg->get('basedir')."/templates";
b. find the line in
red and REPLACE with the
blue. (In ONE place within this subroutine.)
if (open(TMPL, $cfg->get('basedir')."/templates/$tmpl.txt")) {
if (($style ne undef && open(TMPL, "$fn/$style/$tmpl.txt")) || open(TMPL, "$fn/$tmpl.txt")) {
my @buff = <TMPL>;
close TMPL;
$tmpl = join('', @buff);
}
3. In the newticket subroutinea. find this line and ADD the parts in
blue...
my ($cfg, $query, $data) = @_;
my $style = $query->param('style');
b. find each line and ADD the parts in
blue....
usernotify({cfg => $cfg, ticket => $ticket, style => $style, validationcode => $data->{VALIDATIONCODE}})
my $opernotifydata = {cfg => $cfg, ticket => $ticket, style => $style};
4. In the ticket subroutinea. find this line and ADD the parts in
blue...
TTXCommon::tickedvars($cfg, $data);
my $style = $query->param('style');
b. find each line and ADD the parts in
blue....
usernotify({cfg => $cfg, ticket => $t, style => $style,
my $opernotifydata = {cfg => $cfg, ticket => $t, style => $style};
opernotify({cfg => $cfg, ticket => $t, style => $style});
my $opernotifydata = {cfg => $cfg, ticket => $t, style => $style};
my $opernotifydata = {cfg => $cfg, ticket => $t, style => $style};
opernotify({cfg => $cfg, ticket => $t, style => $style});