How to add web page to OTRS

English! place to talk about development, programming and coding
Post Reply
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

How to add web page to OTRS

Post by dstover »

Is there a way to add a web page of my own creation to OTRS? I am not talking about the ones you can create through OTRS but one that is created externally. If there is a way, please describe it to me.

Thanks in advance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to add web page to OTRS

Post by reneeb »

Please describe more detailed what you want to do. Do you want to add a static HTML page? Or something dynamic?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: How to add web page to OTRS

Post by dstover »

I would like to add a Jquery/HTML page that allows selection of items in a multiselect box and moving them to another box. I would then harvest the contents of the other box and put the information into a dynamic field value in the database. I want the final page to be an Activity Dialog that I can add as a tab to an Activity in Process Management.

Any information would be greatly appreciated. Thanks in advance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: How to add web page to OTRS

Post by eandrex »

Well, it seems like it is a little complex.. and if you dont even know where to start.. my advice is to hire profesional services.. reneeb himself is one of them...but if you have to do it yourself, you can start learning here http://otrs.github.io/doc/
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: How to add web page to OTRS

Post by dstover »

Telling me to read the documentation or hire someone is not really the help I was looking for. I am just looking for any specifics on this particular problem that anyone can give me. I am an experienced programmer and have previously worked with a lot of OTRS code so I know the system pretty well. I am just looking for clues on how to do this particular thing.

Thanks for your response...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to add web page to OTRS

Post by crythias »

It's not necessary to respond like that.

1) Can you make your own document in HTML that does what you want, if it had nothing to do with OTRS?
2) Do you know how to edit an OTRS template to point to that document?
3) If the answer to number 1 needs to interface with OTRS data do you know how to use Generic Interface, the API, etc.?
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
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: How to add web page to OTRS

Post by dstover »

It's not necessary to respond like that.

I apologize.

1) Can you make your own document in HTML that does what you want, if it had nothing to do with OTRS?

Yes.

2) Do you know how to edit an OTRS template to point to that document?

No.

3) If the answer to number 1 needs to interface with OTRS data do you know how to use Generic Interface, the API, etc.?

Yes.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to add web page to OTRS

Post by crythias »

For No on number 2)

At what point are you unable to edit the template?
1) Do you know what template reflects the page you want to edit?
2) ... (insert other work stoppage point question that I can't understand what to ask.)

If it wasn't you:
1) editing problems?
2) unable to type or formulate an <a href...
3) unable to locate the page relative to otrs location
4) link goes nowhere
5) apache error logs indicate bad path
6) ...
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
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: How to add web page to OTRS

Post by dstover »

Not sure which dtl file, I guess, or how to specify which Activity Dialog to put the code in. What I am seeing is that the AgentTicketProcess.pm file in modules is sending HTML to the screen. My current strategy is to put up a blank Activity Dialog and scanning the HTML that is generated, then manually inserting inside the AgentTicketProcess.pm code the Jquery code that I need to execute, while specifying the Activity Dialog (AD54) that I want it to go in. I know this is probably the brute force method but I couldn't think of another way to do it. This method is also not working yet.

Anyway, thanks for any information...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Post Reply