Thread Fehlermeldung: Global symbol "$Output" requires explicit package name (29 answers)
Opened by bendenn at 2012-07-26 14:04

renee
 2012-08-07 16:25
#160698 #160698
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Du musst OTRS sagen, dass es noch Header und Footer hinzufügen muss:

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
sub Run {
       my ( $Self, %Param ) = @_;
           
       # build output
       my $Output = $Self->{LayoutObject}->CustomerHeader( Title => 'Contact' );
           $Output .= $Self->{LayoutObject}->Output(
           TemplateFile => 'Contact',
           Data => \%Param,
       );
           $Output .= CustomerFooter();

       return $Output;
}
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Fehlermeldung: Global symbol "$Output" requires explicit package name