How to set a public interface "theme"

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Forum rules
Dont create your support topics here! No new topics with questions allowed!
Post Reply
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

How to set a public interface "theme"

Post by crythias »

in Kernel/System/Web/InterfacePublic.pm

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
    );
Then create Kernel/Output/HTML/Public and copy Standard/Customer*.* to it.

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?)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply