after some debug, .it looks like
$Self->{LayoutObject}->Block(
Name => 'AgentAnswerComposeCustom',
Data => { %Param, %Article, %AclAction },
);
in AgentTicketZoom.pm is called but does nothing.........
Any help?
thx!
El 22/06/2010 15:32, magicboiz escribió:
Hi Michiel
you're completly right. I'm just want to make some tests before the
real change, but because I have no success....
So, the steps I'd follow are right? (except modify ticket.xml,
zzzza(a)uto files...) Did I missing anythin else?
El 22/06/2010 15:23, Michiel Beijen escribió:
First of all, you would never have to modify the ZZZA(A)uto files
directly.
You also probably should not modify Ticket.xml, just create a file
called Custom.xml, put your configuration in it, put it in the same
directory and run the SysConfig in the Admin interface.
So if your code is not executed please try and dump out some values
from AgentTicketZoom.pm or the other modules to see why the block
where your DTL is rendered is not executed.
BTW this seems to evolve more into a topic suitable for the dev@ list...
((enjoy))
Michiel Beijen
Senior Consultant
Follow me on Twitter: @otrsnl [https://twitter.com/otrsnl]
OTRS BV
Schipholweg 103
2316 XC Leiden
The Netherlands
T: +31 71 8200 255
F: +31 71 8200 254
I: http://www.otrs.com
GET OTRS::ITSM 2.0 NOW - including the brand new change management
module! It's the only ITIL® V3 compatible open-source IT Service
Management solution certified by PinkVERIFY worldwide! -
http://bit.ly/dv4CJF
On Tue, Jun 22, 2010 at 3:12 PM, magicboiz<[email protected]> wrote:
Hi Alexander,
by registering I mean "registered into OTRS", not only in the pearl
code......
this is a little summary of the steps i've followed:
1.- Modify AgentTicketZoom.dtl: new block:AgentAnswerComposeCustom
2.- Modify AgentTicketOverviewPreview.dtl: new
block:AgentAnswerComposeCustom
3.- New Kernel/Module AgentTicketComposeCustom.pm derivated from
AgentTicketCompose.pm
4.- Modify Ticket.xml: Now I have some new ConfigItems related with
AgentTicketComposeCustom and ResponseFormatCustom
5.- Modify AgentTicketZoom.pm in order to include a call to
AgentAnswerComposeCustom block
6.- Modify ZZZAAuto.pm and register
Ticket::Frontend::AgentTicketComposeCustom and some properties
Even with these steps, I'm still trying to get the new custom answer
displayed into the AgentTickZoom page.....
El 22/06/2010 13:44, Alexander Halle escribió:
magicboiz wrote :
I want to add a new answer to the right panel of AgentTicketZoom
(OTRS2.4.7+ITSM1.3). Currently, I have email-answer and
phone-answer. I want
to add my custom-answer.
In order to try a test first, I'd use AgentTicketCompose.pm as a
template
and I created AgentTicketComposeCustom.pm. I did modify
AgentTicketZoom.pm
and AgentTicketZoom.dtl
After this changes, I restarted apache server, but this new
answer, never
appers on the right block of AgentTicketZoom......do I need to
modify/include anythin more? My new module is registered
correctly, because
I can call it directly from the browser....
Hi,
if "registering the module" refers to the perl code then you still
have to
register the module in the SysConfig to add the GUI command. Search
for
"registration" in SysConfig and then look at
Frontend::Agent::ModuleRegistration.
Regards
Alexander
--
radprax Gesellschaft fuer medizinische Versorgungszentren mbH,
Bergstr. 7 - 9, 42105 Wuppertal,
Fon: +49 202 2489 1110, Fax: +49 202 2489 94 1119
Geschaeftsfuehrer: Andreas Martin, Dr. med. Heiner Steffens, Dr. med.
Renate Tewaag
Amtsgericht Wuppertal: HRB 19359, St.-Nr.: 132/5889/0264, DE
814559152
Web: http://www.radprax.de
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/