Code: Select all
$Self->{LayoutObject} = Kernel::Output::HTML::Layout->new(
%Param,
SessionIDCookie => 1,
%{$Self},
Lang => $Param{Lang},
UserTheme => "Public", #add this line. It's about line 143 in 2.4, and line 157 in 3.0
);
This is *not* a real theme. You can't choose it as your theme. You'll need to copy any .dtl files that are installed from packages that use the Public interface (survey? FAQ?)