I am having a huge issue since updating to from OTRS 5 to OTRS 6. I used to modify the template (.tt) files to hide the Dynamic Fields by default for everyone using the "Standard" template. Different departments now got their own template with (.tt) files modified to again show only specific Dynamic Fields. This still works for all template files other than AgentTicketActionCommon.tt (used for i.e. AgentTicketClose).
To better show here is the example for OTRS 5.
Removed the following part
Code: Select all
[% RenderBlockStart("DynamicField") %]
<div class="Row Row_DynamicField_[% Data.Name | html %]">
[% Data.Label %]
<div class="Field">
[% Data.Field %]
</div>
<div class="Clear"></div>
</div>
[% RenderBlockEnd("DynamicField") %]
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
#[% RenderBlockStart("DynamicField_Field1") %]
# <div class="Row Row_DynamicField_[% Data.Name | html %]">
# [% Data.Label %]
# <div class="Field">
# [% Data.Field %]
# </div>
# <div class="Clear"></div>
# </div>
#[% RenderBlockEnd("DynamicField_Field1") %]
AgentTicketActionCommon.tt in OTRS 6
Code: Select all
[% RenderBlockStart("TicketTypeDynamicField") %]
<div class="Row Row_DynamicField_[% Data.Name | html %]">
[% Data.Label %]
<div class="Field">
[% Data.Field %]
</div>
<div class="Clear"></div>
</div>
[% RenderBlockEnd("TicketTypeDynamicField") %]
If I remove that the Dynamic Fields are gone but I cannot use the customization anymore to only add the specific ones as I was used before.
More or less funny is that the above example is still mentioned in the template file but it simply does not work.
HELP
Thanks,
Rick