Customize Pages

Moderator: crythias

Locked
Vince0511
Znuny newbie
Posts: 25
Joined: 21 Oct 2014, 08:53
Znuny Version: 5.0.1
Real Name: Vincent Kessels
Company: RIN
Location: Wijchen, Netherlands
Contact:

Customize Pages

Post by Vince0511 »

Hello,

Is it possible to customizemy different pages?
For example I would like to move some fields in my NewTicket-page.

Can anyone help me, or tell me where to look?
Using OTRS 5 on CentOS 7. (English / Dutch)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize Pages

Post by crythias »

some fields can be moved in the appropriate .dtl. Others (Dynamic Fields) can be arranged within the Dynamic Fields group by the order of listing.
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
Vince0511
Znuny newbie
Posts: 25
Joined: 21 Oct 2014, 08:53
Znuny Version: 5.0.1
Real Name: Vincent Kessels
Company: RIN
Location: Wijchen, Netherlands
Contact:

Re: Customize Pages

Post by Vince0511 »

Can I place my group of Dynamic Fields after the subject, and before the text in the phoneticket?
Using OTRS 5 on CentOS 7. (English / Dutch)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customize Pages

Post by crythias »

At what point of the previous post are you unclear?
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
Vince0511
Znuny newbie
Posts: 25
Joined: 21 Oct 2014, 08:53
Znuny Version: 5.0.1
Real Name: Vincent Kessels
Company: RIN
Location: Wijchen, Netherlands
Contact:

Re: Customize Pages

Post by Vince0511 »

Let me ask it the other way....

How do I move the possition of my Dynamic Fields group? Where can I select the position on the NewPhoneTicket-form?

English is not my native language, excuse me for that

Ciao!
Vincent
Using OTRS 5 on CentOS 7. (English / Dutch)
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Customize Pages

Post by RStraub »

You'll have to locate and edit the file "AgentTicketPhone.dtl".

There, find the block:

Code: Select all

<!-- dtl:block:DynamicField -->
                    <div class="Row Row_DynamicField_$QData{"Name"}">
                        $Data{"Label"}
                        <div class="Field">
                            $Data{"Field"}
                        </div>
                        <div class="Clear"></div>
                    </div>
<!-- dtl:block:DynamicField -->
Move this block to the position where you want the list of your dynamic fields to appear.

If you don't want them as a list, you'll have to "hardcode" them into the file, using the next block which should be commented in the file:

Code: Select all

# example of how to use fixed dynamic field blocks for customizations
# Note: Field1 and Field2 are the names of the fields and had to be replaced with the actual
# field names
#<!-- dtl:block:DynamicField_Field1 -->
#                    <div class="Row Row_DynamicField_$QData{"Name"}">
#                        $Data{"Label"}
#                        <div class="Field">
#                            $Data{"Field"}
#                        </div>
#                        <div class="Clear"></div>
#                    </div>
#<!-- dtl:block:DynamicField_Field1 -->
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked