Custom framework updates

Moderator: crythias

Locked
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Custom framework updates

Post by pakirby »

Version 3.1.7

We are altering Output and Modules framework files for our new install of 3.1.7 and are trying to use the Custom folder to prevent future difficulties during minor patches. However, the updated configurations found in the Custom folder files are not being reflected in the live environment. Are we missing something that activates or otherwise directs OTRS to present the files in the Custom directories instead of the standard ones?

For instance, we have copied otrs/Kernel/Output/HTML/LayoutTicket.pm to otrs/Custom/Kernel/Output/HTML/LayoutTicket.pm with the alteration:

Code: Select all

    
# show priority
    push @Result, {
        #            Image => $Image,
        Title      => $Param{Ticket}->{Priority},
        Class      => 'Flag',
        ClassSpan  => 'PriorityID-' . $Param{Ticket}->{PriorityID},
        ClassTable => 'Flags',
    };
to:

Code: Select all

    
# show priority
    push @Result, {
        #            Image => $Image,
        Title      => $Param{Ticket}->{Priority},
        Class      => '',
        ClassSpan  => 'PriorityID-' . $Param{Ticket}->{PriorityID},
        ClassTable => 'Flags',
    };
The removal of 'Flag' should change the priority presentation from a colored bar to the priority name text. However, it does not make any change to the live page. It will only show up if we make this change to the actual framework location otrs/Kernel/Output/HTML/LayoutTicket.pm

How can we leave the standard framework file in its original format and have the Custom folder file reflect in the live environment?
OTRS 3.2.1
CentOs 5.7
MySQL
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Re: Custom framework updates

Post by pakirby »

It looks like this may have been a caching issue with our web browser; the framework updates present in the Custom directories are now appearing in the live environment.
OTRS 3.2.1
CentOs 5.7
MySQL
Locked