Search found 18 matches

by lelikflegma
16 Jul 2014, 12:30
Forum: Help
Topic: Richtext CKEditor slow typing with large content
Replies: 0
Views: 911

Richtext CKEditor slow typing with large content

Hello. I have issue with Richtext area (CKEditor v4.3). When content is too large (for example: "Reply" case with content of few previous articles), typing message becomes very slow and browser freezes. In previous version of CKEditor 3.6.6.1 it works fine. You can reproduce this bug even ...
by lelikflegma
04 Jul 2013, 17:45
Forum: Help
Topic: How to use subroutine from other module?
Replies: 0
Views: 615

How to use subroutine from other module?

I need to use subroutine CustomerAge from package package Kernel::Output::HTML::Layout; in package package Kernel::System::Ticket; to make ticket field Age human readable (like X h X m). I tried to write in ticket.pm : use Kernel::Output::HTML::Layout; sub new { ... $Self->{LayoutObject} = Kernel::O...
by lelikflegma
04 Jul 2013, 17:26
Forum: Помощь
Topic: Как использовать функцию из другого модуля?
Replies: 0
Views: 3178

Как использовать функцию из другого модуля?

мне нужно в package Kernel::System::Ticket; использовать функцию CustomerAge из package Kernel::Output::HTML::Layout; Я пробовал подключить модуль так: use Kernel::Output::HTML::Layout; sub new { ... $Self->{LayoutObject} = Kernel::Output::HTML::Layout->new( %{$Self} ); } Получаю ошибку: Can't call ...
by lelikflegma
04 Dec 2012, 19:12
Forum: Help
Topic: How to add new field in stats report
Replies: 1
Views: 1768

Re: How to add new field in stats report

I found solution: ################################################################################################### /opt/otrs/Kernel/System/Stats/Dynamic/TicketList.pm line 867 add after "#TicketID => 'TicketID'," Email => 'Customer Email', line 997 add after "TicketNumber" Ema...
by lelikflegma
04 Dec 2012, 19:11
Forum: Помощь
Topic: Статистика (отчеты) - как добавить поле?
Replies: 1
Views: 4614

Re: Статистика (отчеты) - как добавить поле?

Добавление поля EMAIL (пользователя) в динамические отчеты (репорты) ################################################################################################### /opt/otrs/Kernel/System/Stats/Dynamic/TicketList.pm line 867 add after "#TicketID => 'TicketID'," Email => 'Customer Emai...
by lelikflegma
04 Dec 2012, 19:11
Forum: Help
Topic: How to add new field in stats report
Replies: 1
Views: 863

Re: How to add new field in stats report

I found solution: ################################################################################################### /opt/otrs/Kernel/System/Stats/Dynamic/TicketList.pm line 867 add after "#TicketID => 'TicketID'," Email => 'Customer Email', line 997 add after "TicketNumber" Ema...
by lelikflegma
22 Nov 2012, 16:12
Forum: Help
Topic: How to add new field in stats report
Replies: 1
Views: 863

How to add new field in stats report

HI. I want to make report in CSV format with next fields: tichet_id;customer_user_id;customer_email Question: how to add field "customer_email"? In which direction need to look? As I right understand, needs to link modul customer_user to get data from customer_user table? But in which plac...
by lelikflegma
22 Nov 2012, 15:18
Forum: Помощь
Topic: Статистика (отчеты) - как добавить поле?
Replies: 1
Views: 4614

Статистика (отчеты) - как добавить поле?

Есть задача формировать отчет по закрытым заявкам за период. В отчете нужны три поля: ticketID;customer_user_id(логин);Customer Email Проблема: в интерфейсе создания отчетов есть только поля, которые есть в таблице ticket, т.е. можно создать отчет с полями ticketID;customerID(логин) Вопрос: Как доба...
by lelikflegma
14 Nov 2012, 17:47
Forum: Help
Topic: How to add new field in stats report
Replies: 1
Views: 1768

How to add new field in stats report

Hi. When we creating new statistic report, we have some parameters in multiselect menu "Attributes to be printed". One of parameters is "Customer User", which contains login of the customer. How can I add new parameter: Email address of this customer? For example, I want make rep...
by lelikflegma
14 Nov 2012, 15:23
Forum: Help
Topic: Custom ticket field (free text?) in stats report
Replies: 9
Views: 7017

Re: Custom ticket field (free text?) in stats report

Hi.
How can I add to attributes "user email"?
If I select "Customer User" I see in result file login of customer who created ticket. How can I add to attributes list field which should show email of this customer?
by lelikflegma
08 Jun 2012, 12:59
Forum: Помощь
Topic: Размеры диалоговых окон
Replies: 1
Views: 2651

Re: Размеры диалоговых окон

Нашел. Кому интересно, otrs-home-dir/var/httpd/htdocs/skins/Agent/default/css/Core.Default.css блок отвечающий за размеры окон popup /** * @subsection Dialog popup width */ iframe.TextOption { width: 500px; height: 400px; } iframe.TextOption.SpellCheck { width: 800px; } iframe.TextOption.Customer { ...
by lelikflegma
08 Jun 2012, 11:01
Forum: Помощь
Topic: Размеры диалоговых окон
Replies: 1
Views: 2651

Размеры диалоговых окон

Вопрос по изменению размера диалогового окна, а конкретно - окно адресной книги, после того как делаешь поиск, таблица с результатами выводится некрасиво с переносами строк, как можно изначально сделать окно шире?
by lelikflegma
08 Jun 2012, 10:57
Forum: Помощь
Topic: dashboard - добавить столбец с именем клиента
Replies: 13
Views: 15357

Re: dashboard - добавить столбец с именем клиента

Надо перестроить запрос: SELECT customer_user.title, customer_user.first_name, customer_user.last_name, customer_user.login, customer_user.pw, customer_user.email, customer_user.customer_id, customer_user.phone, customer_user.fax, customer_user.mobile, customer_user.street, customer_user.zip, custom...
by lelikflegma
28 Feb 2012, 17:56
Forum: Помощь
Topic: dashboard - добавить столбец с именем клиента
Replies: 13
Views: 15357

Re: dashboard - добавить столбец с именем клиента

Далее, если хотим добавить поиск по названию компании: файл Kernel/System/CustomerUser/DB.pm подпрограмма CustomerSearch строка my $SQL = "SELECT $Self->{CustomerKey} "; заменяем на my $SQL = "SELECT $Self->{CustomerTable}.$Self->{CustomerKey} "; строка $SQL .= ", $Entry&quo...
by lelikflegma
28 Feb 2012, 17:37
Forum: Помощь
Topic: dashboard - добавить столбец с именем клиента
Replies: 13
Views: 15357

Re: dashboard - добавить столбец с именем клиента

Разобрался. Кому интересно: для добавления столбца названия компании в списке клиентов, необходимо сделать следующее: файл Kernel/System/CustomerUser/DB.pm подпрограмма CustomerUserDataGet строка 456 $SQL .= " $Entry->[2], "; заменяем на $SQL.= " $Self->{CustomerTable}.$Entry->[2], &q...
by lelikflegma
24 Feb 2012, 21:56
Forum: Помощь
Topic: dashboard - добавить столбец с именем клиента
Replies: 13
Views: 15357

Re: dashboard - добавить столбец с именем клиента

Я думал о таком варианте, но он не устраивает, т.к. данные в базу ОТРС вносятся из другой базы и в качестве ключа используется ID компании. В таком случае лучше, наверно, использовать вариант избыточности данных и добавить в таблицу customer_user поле названия компании, тогда будет работать и AutoCo...
by lelikflegma
24 Feb 2012, 19:07
Forum: Помощь
Topic: dashboard - добавить столбец с именем клиента
Replies: 13
Views: 15357

Re: dashboard - добавить столбец с именем клиента

1. А мне нужно добавить столбец с названием компании в списке клиентов. По дефолту выводится только столбец "ID клиента". Я понимаю, что выводятся только те поля, которые есть в таблице customer_user и нужно писать еще один запрос на выборку из таблицы customer_company и по ключу customer_...